summaryrefslogtreecommitdiff
path: root/libavcodec/motionpixels_tablegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/motionpixels_tablegen.h')
-rw-r--r--libavcodec/motionpixels_tablegen.h3
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 */