* recommiting change from SF CVS
authorRoman Shaposhnik <roman@shaposhnik.org>
Sat, 11 Oct 2003 01:41:41 +0000 (01:41 +0000)
committerRoman Shaposhnik <roman@shaposhnik.org>
Sat, 11 Oct 2003 01:41:41 +0000 (01:41 +0000)
Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dv.c

index b9a3996..f33a758 100644 (file)
@@ -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;