summaryrefslogtreecommitdiff
path: root/libavcodec/vp9_parser.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-01-05 13:32:03 -0500
committerMichael Niedermayer <michaelni@gmx.at>2014-01-05 21:45:24 +0100
commit847072873c95ccaa5441bdba5a50bc19de2875e0 (patch)
tree0a07a7d76d7e265dce0260b006e9bb766e2413e9 /libavcodec/vp9_parser.c
parentee16e0cacc16ea60c35a66796410012755263c3c (diff)
vp9_parse: don't use AVCodecParserContext as av_log context.
Fixes trac ticket 3273. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9_parser.c')
-rw-r--r--libavcodec/vp9_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c
index 24f588f441..c34febff0e 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; \