projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c298b2b
)
atrac1: use correct context for av_log()
author
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 2 Nov 2011 16:06:04 +0000
(12:06 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 10 Nov 2011 15:25:47 +0000
(10:25 -0500)
libavcodec/atrac1.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/atrac1.c
b/libavcodec/atrac1.c
index
ef5156c
..
770b1bf
100644
(file)
--- 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;
}