Commit 5c3d038c authored by lorenm's avatar lorenm

warn on interlaced streams


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5337 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cedb8f80
...@@ -7283,6 +7283,8 @@ static inline int decode_seq_parameter_set(H264Context *h){ ...@@ -7283,6 +7283,8 @@ static inline int decode_seq_parameter_set(H264Context *h){
return -1; return -1;
sps->frame_mbs_only_flag= get_bits1(&s->gb); sps->frame_mbs_only_flag= get_bits1(&s->gb);
if(!sps->frame_mbs_only_flag)
av_log(h->s.avctx, AV_LOG_ERROR, "interlacing is not supported, picture will probably be garbage\n");
if(!sps->frame_mbs_only_flag) if(!sps->frame_mbs_only_flag)
sps->mb_aff= get_bits1(&s->gb); sps->mb_aff= get_bits1(&s->gb);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment