diff mdec.c @ 2270:21f450be6cb5 libavcodec

lowres width/height cleanup 3rd try
author michael
date Mon, 27 Sep 2004 11:50:56 +0000
parents 934117474c3b
children f67b63ed036d
line wrap: on
line diff
--- a/mdec.c	Mon Sep 27 10:06:10 2004 +0000
+++ b/mdec.c	Mon Sep 27 11:50:56 2004 +0000
@@ -222,8 +222,8 @@
 
     dsputil_init(&a->dsp, avctx);
 
-    a->mb_width   = (avctx->width  + 15) / 16;
-    a->mb_height  = (avctx->height + 15) / 16;
+    a->mb_width   = (avctx->coded_width  + 15) / 16;
+    a->mb_height  = (avctx->coded_height + 15) / 16;
 
     avctx->coded_frame= (AVFrame*)&a->picture;
     a->avctx= avctx;