summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-01-13 08:05:40 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-01-13 08:05:40 +0000
commit7a96cd31232bec71bbc4d8931b9d52b5748b3f9e (patch)
tree20b021bad2ff2b2f969f0e41d50f1b3883a2fd04 /libavcodec/vc1.c
parente9ca5f089201cfe1abfef722ce1683d1e3443f57 (diff)
VC-1 display dimensions should affect coded dimensions only (I think)
Originally committed as revision 16578 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index 32927e0280..e41d128f2d 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -1007,8 +1007,8 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
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);