1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

warn on interlaced streams

Originally committed as revision 5337 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loren Merritt 2006-04-30 19:31:45 +00:00
parent 3a1fda0a37
commit 89ddb72aa1

View File

@ -7283,6 +7283,8 @@ static inline int decode_seq_parameter_set(H264Context *h){
return -1;
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)
sps->mb_aff= get_bits1(&s->gb);
else