[Ffmpeg-cvslog] r7820 - trunk/libavcodec/vc1.c
kostya
subversion
Mon Feb 5 07:58:03 CET 2007
Author: kostya
Date: Mon Feb 5 07:58:02 2007
New Revision: 7820
Modified:
trunk/libavcodec/vc1.c
Log:
Set codec dimensions in extradata parsing
Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c (original)
+++ trunk/libavcodec/vc1.c Mon Feb 5 07:58:02 2007
@@ -1278,6 +1278,8 @@
v->s.avctx->coded_width = (get_bits(gb, 12) + 1) << 1;
v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1;
+ v->s.avctx->width = v->s.avctx->coded_width;
+ v->s.avctx->height = v->s.avctx->coded_height;
v->broadcast = get_bits1(gb);
v->interlace = get_bits1(gb);
if(v->interlace){
More information about the ffmpeg-cvslog
mailing list