diff options
Diffstat (limited to 'libavcodec/smc.c')
-rw-r--r-- | libavcodec/smc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 52dce53679..bb00c69aec 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -434,10 +434,8 @@ static int smc_decode_frame(AVCodecContext *avctx, bytestream2_init(&s->gb, buf, buf_size); - if ((ret = ff_reget_buffer(avctx, &s->frame)) < 0) { - av_log(s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); + if ((ret = ff_reget_buffer(avctx, &s->frame)) < 0) return ret; - } if (pal) { s->frame.palette_has_changed = 1; |