summaryrefslogtreecommitdiff
path: root/libavcodec/atrac1.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-11-02 12:06:04 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-10 10:25:47 -0500
commit164fca39bdd59896b43ea4a4df31195ac0988fa5 (patch)
tree76cce1389f0f2e63f2bcf9cbe192b429e314c01f /libavcodec/atrac1.c
parentc298b2b8db2e387afb5de94ed43deac1deb607a9 (diff)
atrac1: use correct context for av_log()
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 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;
}