]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/svq3.c
Merge commit '9951907f6fc37a8d41566dbee09f7c15ff587de6'
[ffmpeg] / libavcodec / svq3.c
index 5a5cf26a33a1cb89b3db846b297881cedc4c8a27..992c100051b871032dbbe99ae90d087bbda3a003 100644 (file)
@@ -768,7 +768,7 @@ static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type)
         }
     }
 
-    h->cbp                              = cbp;
+    sl->cbp                   = cbp;
     h->cur_pic.mb_type[mb_xy] = mb_type;
 
     if (IS_INTRA(mb_type))
@@ -1306,7 +1306,7 @@ static int svq3_decode_frame(AVCodecContext *avctx, void *data,
                 return -1;
             }
 
-            if (mb_type != 0 || h->cbp)
+            if (mb_type != 0 || sl->cbp)
                 ff_h264_hl_decode_mb(h, &h->slice_ctx[0]);
 
             if (h->pict_type != AV_PICTURE_TYPE_B && !h->low_delay)