From 315e3cf047cf8151c53113f87699b3358406edfa Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 7 Nov 2013 14:04:21 +0000 Subject: [PATCH] avcodec/hnm4video: remove redundant log message Signed-off-by: Paul B Mahol --- libavcodec/hnm4video.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/hnm4video.c b/libavcodec/hnm4video.c index d681217375..1e3c0fdecb 100644 --- a/libavcodec/hnm4video.c +++ b/libavcodec/hnm4video.c @@ -359,10 +359,8 @@ static int hnm_decode_frame(AVCodecContext *avctx, void *data, int ret; uint16_t chunk_id; - 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; - } chunk_id = AV_RL16(avpkt->data + 4);