diff options
Diffstat (limited to 'libavcodec/atrac1.c')
-rw-r--r-- | libavcodec/atrac1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/atrac1.c b/libavcodec/atrac1.c index 5db608592f..ff7dd3ee48 100644 --- a/libavcodec/atrac1.c +++ b/libavcodec/atrac1.c @@ -287,10 +287,8 @@ static int atrac1_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = AT1_SU_SAMPLES; - if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) return ret; - } for (ch = 0; ch < avctx->channels; ch++) { AT1SUCtx* su = &q->SUs[ch]; |