diff options
Diffstat (limited to 'libavcodec/bfi.c')
-rw-r--r-- | libavcodec/bfi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c index da22cc00a8..9cfcd14aa3 100644 --- a/libavcodec/bfi.c +++ b/libavcodec/bfi.c @@ -58,10 +58,8 @@ static int bfi_decode_frame(AVCodecContext *avctx, void *data, uint32_t *pal; int i, j, ret, height = avctx->height; - 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; - } bytestream2_init(&g, avpkt->data, buf_size); |