diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-17 10:50:01 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-24 11:35:03 +0100 |
commit | af7acbb4b87ae44560dd4223b39c031c54923b63 (patch) | |
tree | 9d4d642a27e248e368ae15f6da089be3f1c6555e /libavcodec/motionpixels_tablegen.h | |
parent | cc18bcdd5204feff6724486f72fafcad15640362 (diff) | |
download | ffmpeg-af7acbb4b87ae44560dd4223b39c031c54923b63.tar.gz |
avcodec/motionpixels: Make decoder init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/motionpixels_tablegen.h')
-rw-r--r-- | libavcodec/motionpixels_tablegen.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/motionpixels_tablegen.h b/libavcodec/motionpixels_tablegen.h index 9239b6a667..fd10c80cba 100644 --- a/libavcodec/motionpixels_tablegen.h +++ b/libavcodec/motionpixels_tablegen.h @@ -84,8 +84,7 @@ static av_cold void mp_build_rgb_yuv_table(YuvPixel *p) static av_cold void motionpixels_tableinit(void) { - if (!mp_rgb_yuv_table[0].u) - mp_build_rgb_yuv_table(mp_rgb_yuv_table); + mp_build_rgb_yuv_table(mp_rgb_yuv_table); } #endif /* CONFIG_HARDCODED_TABLES */ |