From 31ac9b30aee0e67dba35e119252fd3640c234193 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 8 Oct 2011 23:40:26 +0200 Subject: [PATCH] atrac1: give a valid context pointer to av_log(). Signed-off-by: Michael Niedermayer --- libavcodec/atrac1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index 1f4c36c141..2ad99bf473 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -282,7 +282,7 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data, if (buf_size < 212 * q->channels) { - av_log(q,AV_LOG_ERROR,"Not enought data to decode!\n"); + av_log(avctx, AV_LOG_ERROR,"Not enought data to decode!\n"); return -1; }