[FFmpeg-cvslog] atrac1: use correct context for av_log()
Justin Ruggles
git at videolan.org
Fri Nov 11 02:53:07 CET 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Nov 2 12:06:04 2011 -0400| [164fca39bdd59896b43ea4a4df31195ac0988fa5] | committer: Justin Ruggles
atrac1: use correct context for av_log()
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=164fca39bdd59896b43ea4a4df31195ac0988fa5
---
libavcodec/atrac1.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c
index ef5156c..770b1bf 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;
}
More information about the ffmpeg-cvslog
mailing list