diff options
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r-- | libavcodec/tta.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 0d1075098b..8b4ca5acfb 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -334,10 +334,8 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = framelen; - 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; - } // decode directly to output buffer for 24-bit sample format if (s->bps == 3) |