Commit 665916ff authored by Paul B Mahol's avatar Paul B Mahol

avcodec/hqx: remove superfluous log message

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent c3d40e30
......@@ -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 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment