]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_vc1.c
Merge commit '0e8c6f221a8ddb7dfb3c9e9bd0b33cb12e9391b8'
[ffmpeg] / libavcodec / vdpau_vc1.c
index 993ef2614a1b6548b7cac55d7c27e2eef7f95696..26f4887585509279e29734edd3dd043f0fab119a 100644 (file)
@@ -59,7 +59,7 @@ static int vdpau_vc1_start_frame(AVCodecContext *avctx,
     else
         info->picture_type  = s->pict_type - 1 + s->pict_type / 3;
 
-    info->frame_coding_mode = v->fcm ? v->fcm + 1 : 0;
+    info->frame_coding_mode = v->fcm ? (v->fcm + 1) : 0;
     info->postprocflag      = v->postprocflag;
     info->pulldown          = v->broadcast;
     info->interlace         = v->interlace;