diff options
Diffstat (limited to 'libavcodec/idcinvideo.c')
-rw-r--r-- | libavcodec/idcinvideo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index 7e63da9987..3596080056 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -222,10 +222,8 @@ static int idcin_decode_frame(AVCodecContext *avctx, s->buf = buf; s->size = buf_size; - if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) return ret; - } if (idcin_decode_vlcs(s, frame)) return AVERROR_INVALIDDATA; |