diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-27 11:50:56 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-27 11:50:56 +0000 |
commit | 21adafec2a42d5575ff0a36a028849a9b886c055 (patch) | |
tree | 08fa557bfc0d7b64f2974636330ddeb9da65b416 /libavcodec/mdec.c | |
parent | 0b2346d38c96cbc218cb75e8f83eec788cd1bc29 (diff) | |
download | ffmpeg-21adafec2a42d5575ff0a36a028849a9b886c055.tar.gz |
lowres width/height cleanup 3rd try
Originally committed as revision 3522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r-- | libavcodec/mdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c index ef4e6ec0a9..cf3a1d347b 100644 --- a/libavcodec/mdec.c +++ b/libavcodec/mdec.c @@ -222,8 +222,8 @@ static void mdec_common_init(AVCodecContext *avctx){ 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; |