diff options
Diffstat (limited to 'libavcodec/msvideo1.c')
-rw-r--r-- | libavcodec/msvideo1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c index afaa7ae..c5a1daa 100644 --- a/libavcodec/msvideo1.c +++ b/libavcodec/msvideo1.c @@ -298,10 +298,8 @@ static int msvideo1_decode_frame(AVCodecContext *avctx, s->buf = buf; s->size = 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 (s->mode_8bit) { const uint8_t *pal = av_packet_get_side_data(avpkt, AV_PKT_DATA_PALETTE, NULL); |