]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/yuv2rgb.c
Merge commit 'e10659244782b26061e7d52c06437de32a43a7af'
[ffmpeg] / libswscale / yuv2rgb.c
index e343d05d798249798a24a895437433a1b349838c..d12abda9a8776f0a8443a4ae977f8eb7abf315d7 100644 (file)
@@ -919,7 +919,7 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4],
         break;
     default:
         c->yuvTable = NULL;
-        if(!isPlanar(c->dstFormat) || bpp<=24)
+        if(!isPlanar(c->dstFormat) || bpp <= 24)
             av_log(c, AV_LOG_ERROR, "%ibpp not supported by yuv2rgb\n", bpp);
         return -1;
     }