changeset 8584:8a47574d9fbc libavcodec

VC-1 display dimensions should affect coded dimensions only (I think)
author kostya
date Tue, 13 Jan 2009 08:05:40 +0000
parents d94775e24b0e
children 2186f7c290dd
files vc1.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Tue Jan 13 08:03:45 2009 +0000
+++ b/vc1.c	Tue Jan 13 08:05:40 2009 +0000
@@ -1007,8 +1007,8 @@
     if(get_bits1(gb)) { //Display Info - decoding is not affected by it
         int w, h, ar = 0;
         av_log(v->s.avctx, AV_LOG_DEBUG, "Display extended info:\n");
-        v->s.avctx->width  = v->s.width  = w = get_bits(gb, 14) + 1;
-        v->s.avctx->height = v->s.height = h = get_bits(gb, 14) + 1;
+        v->s.avctx->coded_width  = w = get_bits(gb, 14) + 1;
+        v->s.avctx->coded_height = h = get_bits(gb, 14) + 1;
         av_log(v->s.avctx, AV_LOG_DEBUG, "Display dimensions: %ix%i\n", w, h);
         if(get_bits1(gb))
             ar = get_bits(gb, 4);