Mercurial > libavcodec.hg
changeset 4400:b78c1074a9cc libavcodec
Fail on VC-1 interlaced streams
author | kostya |
---|---|
date | Wed, 24 Jan 2007 17:47:42 +0000 |
parents | daa2a095181d |
children | 003b8c6dd756 |
files | vc1.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/vc1.c Wed Jan 24 16:15:00 2007 +0000 +++ b/vc1.c Wed Jan 24 17:47:42 2007 +0000 @@ -1268,6 +1268,10 @@ 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