diff options
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 8752341381..e6538a22ec 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -904,10 +904,8 @@ static int ape_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = blockstodecode; - 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; - } s->error=0; |