From 86a7e1150222e77478413c68bd3b9412c0c1b14a Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Sat, 11 Oct 2003 01:41:41 +0000 Subject: [PATCH] * recommiting change from SF CVS Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dv.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.7.4