diff options
Diffstat (limited to 'libavcodec/imc.c')
-rw-r--r-- | libavcodec/imc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 2d7dd63..bdeef04 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -948,10 +948,8 @@ static int imc_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = COEFFS; - 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 (i = 0; i < avctx->channels; i++) { q->out_samples = (float *)frame->extended_data[i]; |