]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_mc_template.c
mpeg4videodec: move mpeg4-specific bug workaround variables from MpegEncContext to...
[ffmpeg] / libavcodec / h264_mc_template.c
index ad54558b91ff893f2352f76836299b5b28d4013d..dee02f59088c7d6abde176f830806bfab05f7765 100644 (file)
@@ -68,7 +68,7 @@ static void MCFUNC(hl_motion)(H264Context *h, uint8_t *dest_y,
                               h264_biweight_func *weight_avg)
 {
     const int mb_xy   = h->mb_xy;
-    const int mb_type = h->cur_pic.f.mb_type[mb_xy];
+    const int mb_type = h->cur_pic.mb_type[mb_xy];
 
     assert(IS_INTER(mb_type));