diff options
Diffstat (limited to 'libavcodec/adxdec.c')
-rw-r--r-- | libavcodec/adxdec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index b5868a09c5..7d7fe3ae64 100644 --- a/libavcodec/adxdec.c +++ b/libavcodec/adxdec.c @@ -142,10 +142,8 @@ static int adx_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = num_blocks * BLOCK_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; - } samples = (int16_t **)frame->extended_data; samples_offset = 0; |