From: Roman Shaposhnik Date: Sat, 11 Oct 2003 01:41:41 +0000 (+0000) Subject: * recommiting change from SF CVS X-Git-Tag: v0.5~15860 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86a7e1150222e77478413c68bd3b9412c0c1b14a;p=platform%2Fupstream%2Flibav.git * recommiting change from SF CVS Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/dv.c b/libavcodec/dv.c index b9a3996..f33a758 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -845,6 +845,8 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, s->picture.reference = 0; avctx->pix_fmt = s->sys->pix_fmt; + avctx->width = s->sys->width; + avctx->height = s->sys->height; if(avctx->get_buffer(avctx, &s->picture) < 0) { fprintf(stderr, "get_buffer() failed\n"); return -1;