summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;