Browse Source

atrac1: use correct context for av_log()

tags/n0.9
Justin Ruggles 14 years ago
parent
commit
164fca39bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/atrac1.c

+ 1
- 1
libavcodec/atrac1.c View File

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



Loading…
Cancel
Save