diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-02-23 14:57:48 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-02-23 15:04:15 +0000 |
commit | 665916ffa2ad4f7d628139556b8e888da285a9af (patch) | |
tree | 80738d96a10f6816fc469f5dafc6431fd4bd1ee1 | |
parent | c3d40e305cb7a675e884768d6f2c26a8031c60e4 (diff) | |
download | ffmpeg-665916ffa2ad4f7d628139556b8e888da285a9af.tar.gz |
avcodec/hqx: remove superfluous log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/hqx.c | 4 |
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 || |