1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

atrac1: use correct context for av_log()

This commit is contained in:
Justin Ruggles
2011-11-02 12:06:04 -04:00
parent c298b2b8db
commit 164fca39bd

View File

@@ -284,7 +284,7 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data,
if (buf_size < 212 * q->channels) { 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; return AVERROR_INVALIDDATA;
} }