summaryrefslogtreecommitdiff
path: root/libavcodec/opusdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/opusdec.c')
-rw-r--r--libavcodec/opusdec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/opusdec.c b/libavcodec/opusdec.c
index 759eaa529c..84fa0ff988 100644
--- a/libavcodec/opusdec.c
+++ b/libavcodec/opusdec.c
@@ -474,10 +474,8 @@ static int opus_decode_packet(AVCodecContext *avctx, void *data,
/* setup the data buffers */
ret = ff_get_buffer(avctx, frame, 0);
- if (ret < 0) {
- av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+ if (ret < 0)
return ret;
- }
frame->nb_samples = 0;
for (i = 0; i < avctx->channels; i++) {