summaryrefslogtreecommitdiff
path: root/libavcodec/hqx.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-02-23 14:57:48 +0000
committerPaul B Mahol <onemda@gmail.com>2015-02-23 15:04:15 +0000
commit665916ffa2ad4f7d628139556b8e888da285a9af (patch)
tree80738d96a10f6816fc469f5dafc6431fd4bd1ee1 /libavcodec/hqx.c
parentc3d40e305cb7a675e884768d6f2c26a8031c60e4 (diff)
downloadffmpeg-665916ffa2ad4f7d628139556b8e888da285a9af.tar.gz
avcodec/hqx: remove superfluous log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/hqx.c')
-rw-r--r--libavcodec/hqx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/hqx.c b/libavcodec/hqx.c
index c4b3bc6cb7..625c0abfeb 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 ||