diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-29 22:26:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-05 13:22:37 +0100 |
commit | ff7ffe48097f32417781fe8b2b417eff05a52c55 (patch) | |
tree | e7f505d3f39102b4ff811f71bd654cd05c3555c1 /libavcodec/mpeg4videodec.c | |
parent | f7d228676cb7669059889c4225c8a8dc56708c24 (diff) | |
download | ffmpeg-ff7ffe48097f32417781fe8b2b417eff05a52c55.tar.gz |
mpeg4videodec: move showed_packed_warning from MpegEncContext to Mpeg4DecContext
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 4f912ed05d..0e4154854c 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -2016,10 +2016,10 @@ static int decode_user_data(Mpeg4DecContext *ctx, GetBitContext *gb) ctx->divx_version = ver; ctx->divx_build = build; s->divx_packed = e == 3 && last == 'p'; - if (s->divx_packed && !s->showed_packed_warning) { + if (s->divx_packed && !ctx->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; + ctx->showed_packed_warning = 1; } } |