]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motionpixels_tablegen.h
avfilter/vf_psnr: remove unnecessary check
[ffmpeg] / libavcodec / motionpixels_tablegen.h
index 9239b6a66730bb862ba8002b71685d84322b7a65..fd10c80cbac5cf3e37b1556d0625b29c7db60df8 100644 (file)
@@ -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 */