diff options
Diffstat (limited to 'libavcodec/xxan.c')
-rw-r--r-- | libavcodec/xxan.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c index 148b058e28..e2b1b8ccf0 100644 --- a/libavcodec/xxan.c +++ b/libavcodec/xxan.c @@ -392,10 +392,8 @@ static int xan_decode_frame(AVCodecContext *avctx, int ftype; int ret; - if ((ret = ff_reget_buffer(avctx, &s->pic))) { - av_log(s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); + if ((ret = ff_reget_buffer(avctx, &s->pic)) < 0) return ret; - } bytestream2_init(&s->gb, avpkt->data, avpkt->size); ftype = bytestream2_get_le32(&s->gb); |