diff options
Diffstat (limited to 'libavcodec/libilbc.c')
-rw-r--r-- | libavcodec/libilbc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c index 15433ed79e..b4163c67eb 100644 --- a/libavcodec/libilbc.c +++ b/libavcodec/libilbc.c @@ -93,10 +93,8 @@ static int ilbc_decode_frame(AVCodecContext *avctx, void *data, } frame->nb_samples = s->decoder.blockl; - 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; - } WebRtcIlbcfix_DecodeImpl((WebRtc_Word16*) frame->data[0], (const WebRtc_UWord16*) buf, &s->decoder, 1); |