[FFmpeg-cvslog] avcodec: remove "get_buffer() failed" message

Paul B Mahol git at videolan.org
Fri Apr 8 09:48:37 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Apr  8 09:40:32 2016 +0200| [3e99b377fc8bf19d8b8f0116554da403bba5ea91] | committer: Paul B Mahol

avcodec: remove "get_buffer() failed" message

It is already provided by ff_get_buffer().

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e99b377fc8bf19d8b8f0116554da403bba5ea91
---

 libavcodec/dss_sp.c |    4 +---
 libavcodec/qdrw.c   |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/libavcodec/dss_sp.c b/libavcodec/dss_sp.c
index 7cf8489..ddea483 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];
 
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c
index 0a31b41..828cfea 100644
--- a/libavcodec/qdrw.c
+++ b/libavcodec/qdrw.c
@@ -281,10 +281,8 @@ static int decode_frame(AVCodecContext *avctx,
                 avpriv_request_sample(avctx, "Pack type %d", pack_type);
                 return AVERROR_PATCHWELCOME;
             }
-            if ((ret = ff_get_buffer(avctx, p, 0)) < 0) {
-                av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+            if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
                 return ret;
-            }
 
             /* jump to data */
             bytestream2_skip(&gbc, 30);



More information about the ffmpeg-cvslog mailing list