[FFmpeg-cvslog] vp9_parse: don't use AVCodecParserContext as av_log context.

Ronald S. Bultje git at videolan.org
Sun Jan 5 21:51:27 CET 2014


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sun Jan  5 13:32:03 2014 -0500| [847072873c95ccaa5441bdba5a50bc19de2875e0] | committer: Michael Niedermayer

vp9_parse: don't use AVCodecParserContext as av_log context.

Fixes trac ticket 3273.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=847072873c95ccaa5441bdba5a50bc19de2875e0
---

 libavcodec/vp9_parser.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c
index 24f588f..c34febf 100644
--- a/libavcodec/vp9_parser.c
+++ b/libavcodec/vp9_parser.c
@@ -77,7 +77,7 @@ static int parse(AVCodecParserContext *ctx,
                     idx += a; \
                     if (sz > size) { \
                         s->n_frames = 0; \
-                        av_log(ctx, AV_LOG_ERROR, \
+                        av_log(avctx, AV_LOG_ERROR, \
                                "Superframe packet size too big: %d > %d\n", \
                                sz, size); \
                         return AVERROR_INVALIDDATA; \



More information about the ffmpeg-cvslog mailing list