aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videodec.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-09-08 19:34:20 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2013-09-09 20:51:08 +0200
commit4ebf09c3461c5a42c3a14f79b1a8a59069a69d7f (patch)
tree4bcb5b5b8ffdcbb856e78a4fff8feb193534d4c3 /libavcodec/mpeg4videodec.c
parent3576b564ec4ffa98402b02b3a69171cefd103eb0 (diff)
downloadandroid_external_ffmpeg-4ebf09c3461c5a42c3a14f79b1a8a59069a69d7f.tar.gz
android_external_ffmpeg-4ebf09c3461c5a42c3a14f79b1a8a59069a69d7f.tar.bz2
android_external_ffmpeg-4ebf09c3461c5a42c3a14f79b1a8a59069a69d7f.zip
Make packed B-frame warning message more useful.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r--libavcodec/mpeg4videodec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 9ff7574bf7..c81a917d0a 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -1912,7 +1912,9 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
s->divx_build= build;
s->divx_packed= e==3 && last=='p';
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");
+ av_log(s->avctx, AV_LOG_WARNING, "Video uses a non-standard and "
+ "wasteful way to store B-frames ('packed B-frames'). "
+ "Consider using a tool like VirtualDub or avidemux to fix it.\n");
s->showed_packed_warning=1;
}
}