diff options
author | Andrew Savchenko <Bircoph@list.ru> | 2008-11-04 06:54:42 +0000 |
---|---|---|
committer | Andreas Ă–man <andreas@lonelycoder.com> | 2008-11-04 06:54:42 +0000 |
commit | 9f0a705d46547ca0c3edab21f24cdb0fb3237185 (patch) | |
tree | ef1a80ee1a1e8699a2591e82a17e75187ddb9eeb /libavcodec/h263.c | |
parent | 6408c25b9538509df5c56e80ca5f1dc32b3b579a (diff) | |
download | ffmpeg-streaming-9f0a705d46547ca0c3edab21f24cdb0fb3237185.zip ffmpeg-streaming-9f0a705d46547ca0c3edab21f24cdb0fb3237185.tar.gz |
Only warn about "Invalid and inefficient vfw-avi packed B frames" once.
Patch by Andrew Savchenko, Bircoph at list dot ru
Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 47210e9..f72f440 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -5751,8 +5751,10 @@ 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) + if(s->divx_packed && !s->showed_packed_warning) { av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n"); + s->showed_packed_warning=1; + } } /* ffmpeg detection */ |