diff options
Diffstat (limited to 'libavcodec/kmvc.c')
-rw-r--r-- | libavcodec/kmvc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c index 2034ebdbce..20aae67096 100644 --- a/libavcodec/kmvc.c +++ b/libavcodec/kmvc.c @@ -271,10 +271,8 @@ static int decode_frame(AVCodecContext * avctx, void *data, int *got_frame, bytestream2_init(&ctx->g, avpkt->data, avpkt->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; - } header = bytestream2_get_byte(&ctx->g); |