[FFmpeg-cvslog] r16578 - trunk/libavcodec/vc1.c
kostya
subversion
Tue Jan 13 09:05:40 CET 2009
Author: kostya
Date: Tue Jan 13 09:05:40 2009
New Revision: 16578
Log:
VC-1 display dimensions should affect coded dimensions only (I think)
Modified:
trunk/libavcodec/vc1.c
Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c Tue Jan 13 09:03:45 2009 (r16577)
+++ trunk/libavcodec/vc1.c Tue Jan 13 09:05:40 2009 (r16578)
@@ -1007,8 +1007,8 @@ static int decode_sequence_header_adv(VC
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);
More information about the ffmpeg-cvslog
mailing list