diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-04-30 19:31:45 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-04-30 19:31:45 +0000 |
commit | 89ddb72aa1adb2e393c593cc6a96c04ca9867b32 (patch) | |
tree | 2a0c74f8cddbe49deaa0fa21069940c2077e3983 /libavcodec | |
parent | 3a1fda0a37e1829784b701cb9b187cc640813e0c (diff) | |
download | ffmpeg-89ddb72aa1adb2e393c593cc6a96c04ca9867b32.tar.gz |
warn on interlaced streams
Originally committed as revision 5337 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index f49ed76794..2f3ba29fdd 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7284,6 +7284,8 @@ static inline int decode_seq_parameter_set(H264Context *h){ 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 sps->mb_aff= 0; |