summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-10-11 01:41:41 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2003-10-11 01:41:41 +0000
commit86a7e1150222e77478413c68bd3b9412c0c1b14a (patch)
tree7872f28fe015a279b3dcc097396df8b534f79517 /libavcodec/dv.c
parentb3a5d0039cb9b14421d6f1cc4fa38f316ccf9f0c (diff)
* recommiting change from SF CVS
Originally committed as revision 2350 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index b9a39965c4..f33a7582e2 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;