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:
9d57fd9
)
Fail on VC-1 interlaced streams
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 24 Jan 2007 17:47:42 +0000
(17:47 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 24 Jan 2007 17:47:42 +0000
(17:47 +0000)
Originally committed as revision 7693 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vc1.c
patch
|
blob
|
history
diff --git
a/libavcodec/vc1.c
b/libavcodec/vc1.c
index
124e5d0
..
ceb534e
100644
(file)
--- a/
libavcodec/vc1.c
+++ b/
libavcodec/vc1.c
@@
-1268,6
+1268,10
@@
static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
v->s.avctx->coded_height = (get_bits(gb, 12) + 1) << 1;
v->broadcast = get_bits1(gb);
v->interlace = get_bits1(gb);
+ if(v->interlace){
+ av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced mode not supported (yet)\n");
+ return -1;
+ }
v->tfcntrflag = get_bits1(gb);
v->finterpflag = get_bits1(gb);
get_bits1(gb); // reserved