From 164fca39bdd59896b43ea4a4df31195ac0988fa5 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 2 Nov 2011 12:06:04 -0400 Subject: atrac1: use correct context for av_log() --- libavcodec/atrac1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/atrac1.c') diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index ef5156c650..770b1bf90e 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -284,7 +284,7 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data, if (buf_size < 212 * q->channels) { - av_log(q,AV_LOG_ERROR,"Not enough data to decode!\n"); + av_log(avctx, AV_LOG_ERROR, "Not enough data to decode!\n"); return AVERROR_INVALIDDATA; } -- cgit v1.2.1