fix(extra): adjust image decoder initialization order (#3085)

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2022-02-18 12:56:14 +01:00
committed by GitHub
co-authored by pengyiqiang
parent f23ae6e67c
commit 48cb4e9164
+4 -4
View File
@@ -58,6 +58,10 @@ void lv_extra_init(void)
lv_fs_win32_init();
#endif
#if LV_USE_FFMPEG
lv_ffmpeg_init();
#endif
#if LV_USE_PNG
lv_png_init();
#endif
@@ -78,10 +82,6 @@ void lv_extra_init(void)
lv_freetype_init(0, 0, 0);
# endif
#endif
#if LV_USE_FFMPEG
lv_ffmpeg_init();
#endif
}
/**********************