Browse Source

atrac1: give a valid context pointer to av_log().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Laurent Aimar Michael Niedermayer 13 years ago
parent
commit
31ac9b30ae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/atrac1.c

+ 1
- 1
libavcodec/atrac1.c View File

@@ -282,7 +282,7 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data,


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;
}



Loading…
Cancel
Save