diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-26 11:32:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-26 11:32:42 +0000 |
commit | bc545029bfd4b158d834bfa99ca2c3f27b82fae2 (patch) | |
tree | 0cfdbc8e79657761cc470d997875c357c0b21193 /libavcodec/h263.c | |
parent | 0bf017c48b3264d03b8e6d3f70c38f488bdd2191 (diff) | |
download | ffmpeg-streaming-bc545029bfd4b158d834bfa99ca2c3f27b82fae2.zip ffmpeg-streaming-bc545029bfd4b158d834bfa99ca2c3f27b82fae2.tar.gz |
Warn about packed B-frames. (especially useful if the file in question is
not an avi ...)
Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index ad54203..d1ea394 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5751,6 +5751,8 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ s->divx_version= ver; s->divx_build= build; s->divx_packed= e==3 && last=='p'; + if(s->divx_packed) + av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n"); } /* ffmpeg detection */ |