]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dnxhdenc.c
Do not warn about wrong channel layout if no channel layout is defined.
[ffmpeg] / libavcodec / dnxhdenc.c
index d5c1d6ccab3c8fba22681cc218711e563e0c7d4d..cd1261af3c217f38f24b0224e819aa4ab12ea149 100644 (file)
@@ -621,7 +621,7 @@ static int dnxhd_mb_var_thread(AVCodecContext *avctx, void *arg, int jobnr, int
         for (mb_x = 0; mb_x < ctx->m.mb_width; ++mb_x, pix += 16) {
             unsigned mb  = mb_y * ctx->m.mb_width + mb_x;
             int sum = ctx->m.dsp.pix_sum(pix, ctx->m.linesize);
-            int varc = (ctx->m.dsp.pix_norm1(pix, ctx->m.linesize) - (((unsigned)(sum*sum))>>8)+128)>>8;
+            int varc = (ctx->m.dsp.pix_norm1(pix, ctx->m.linesize) - (((unsigned)sum*sum)>>8)+128)>>8;
             ctx->mb_cmp[mb].value = varc;
             ctx->mb_cmp[mb].mb = mb;
         }