aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac1.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2011-10-08 23:40:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-09 03:08:02 +0200
commit31ac9b30aee0e67dba35e119252fd3640c234193 (patch)
tree749906d61de2f52669434bd83936c8f4ac8812a8 /libavcodec/atrac1.c
parentcfabd35d5e29581217d7037bc3840221e6a16100 (diff)
downloadffmpeg-31ac9b30aee0e67dba35e119252fd3640c234193.tar.gz
atrac1: give a valid context pointer to av_log().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/atrac1.c')
-rw-r--r--libavcodec/atrac1.c2
1 files changed, 1 insertions, 1 deletions
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;
}