mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-17 06:45:05 +02:00
atrac1: give a valid context pointer to av_log().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cfabd35d5e
commit
31ac9b30ae
@ -282,7 +282,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 enought data to decode!\n");
|
av_log(avctx, AV_LOG_ERROR,"Not enought data to decode!\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user