fix(extra): adjust image decoder initialization order (#3085)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
@@ -58,6 +58,10 @@ void lv_extra_init(void)
|
|||||||
lv_fs_win32_init();
|
lv_fs_win32_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LV_USE_FFMPEG
|
||||||
|
lv_ffmpeg_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if LV_USE_PNG
|
#if LV_USE_PNG
|
||||||
lv_png_init();
|
lv_png_init();
|
||||||
#endif
|
#endif
|
||||||
@@ -78,10 +82,6 @@ void lv_extra_init(void)
|
|||||||
lv_freetype_init(0, 0, 0);
|
lv_freetype_init(0, 0, 0);
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LV_USE_FFMPEG
|
|
||||||
lv_ffmpeg_init();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
|
|||||||
Reference in New Issue
Block a user