diff options
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r-- | libavcodec/indeo2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c index 0ce65b1ffa..f8e7415f82 100644 --- a/libavcodec/indeo2.c +++ b/libavcodec/indeo2.c @@ -149,10 +149,8 @@ static int ir2_decode_frame(AVCodecContext *avctx, AVFrame * const p = &s->picture; int start, ret; - if ((ret = ff_reget_buffer(avctx, p)) < 0) { - av_log(s->avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); + if ((ret = ff_reget_buffer(avctx, p)) < 0) return ret; - } start = 48; /* hardcoded for now */ |