projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc4b21
)
Set codec dimensions in extradata parsing
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 5 Feb 2007 06:58:02 +0000
(06:58 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 5 Feb 2007 06:58:02 +0000
(06:58 +0000)
Originally committed as revision 7820 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vc1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vc1.c
b/libavcodec/vc1.c
index
e0bd62e
..
6711270
100644
(file)
--- a/
libavcodec/vc1.c
+++ b/
libavcodec/vc1.c
@@
-1278,6
+1278,8
@@
static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
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){