1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

vp9_parse: don't use AVCodecParserContext as av_log context.

Fixes trac ticket 3273.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Ronald S. Bultje 2014-01-05 13:32:03 -05:00 committed by Michael Niedermayer
parent ee16e0cacc
commit 847072873c

View File

@ -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; \