summaryrefslogtreecommitdiff
path: root/libavcodec/dss_sp.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-08 09:40:32 +0200
committerPaul B Mahol <onemda@gmail.com>2016-04-08 09:40:32 +0200
commit3e99b377fc8bf19d8b8f0116554da403bba5ea91 (patch)
tree4e7e40b43f265c885f8e0c3abfccbd90b29999a3 /libavcodec/dss_sp.c
parent0c9490609d888ba384798777a3daaf012488ad89 (diff)
downloadffmpeg-3e99b377fc8bf19d8b8f0116554da403bba5ea91.tar.gz
avcodec: remove "get_buffer() failed" message
It is already provided by ff_get_buffer(). Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/dss_sp.c')
-rw-r--r--libavcodec/dss_sp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/dss_sp.c b/libavcodec/dss_sp.c
index 7cf84899fc..ddea48304f 100644
--- a/libavcodec/dss_sp.c
+++ b/libavcodec/dss_sp.c
@@ -761,10 +761,8 @@ static int dss_sp_decode_frame(AVCodecContext *avctx, void *data,
}
frame->nb_samples = DSS_SP_SAMPLE_COUNT;
- 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;
- }
out = (int16_t *)frame->data[0];