changeset 1507:f4cf270b98ae libavcodec

* recommiting change from SF CVS
author romansh
date Sat, 11 Oct 2003 01:41:41 +0000
parents e0c02032d0f2
children 5a43bc31c2eb
files dv.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Sat Oct 11 01:11:29 2003 +0000
+++ b/dv.c	Sat Oct 11 01:41:41 2003 +0000
@@ -845,6 +845,8 @@
     
     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;