[FFmpeg-cvslog] avcodec/hqx: remove superfluous log message

Paul B Mahol git at videolan.org
Mon Feb 23 16:04:31 CET 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Feb 23 14:57:48 2015 +0000| [665916ffa2ad4f7d628139556b8e888da285a9af] | committer: Paul B Mahol

avcodec/hqx: remove superfluous log message

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

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

 libavcodec/hqx.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c
index c4b3bc6..625c0ab 100644
--- a/libavcodec/hqx.c
+++ b/libavcodec/hqx.c
@@ -580,10 +580,8 @@ static int hqx_decode_frame(AVCodecContext *avctx, void *data,
     }
 
     ret = ff_get_buffer(avctx, pic, 0);
-    if (ret < 0) {
-        av_log(avctx, AV_LOG_ERROR, "Could not allocate buffer.\n");
+    if (ret < 0)
         return ret;
-    }
 
     for (slice = 0; slice < 16; slice++) {
         if (slice_off[slice] < HQX_HEADER_SIZE ||



More information about the ffmpeg-cvslog mailing list