summaryrefslogtreecommitdiff
path: root/libavcodec/hnm4video.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-11-07 14:04:21 +0000
committerPaul B Mahol <onemda@gmail.com>2013-11-07 14:04:21 +0000
commit315e3cf047cf8151c53113f87699b3358406edfa (patch)
treee51394a0edaf84714bd4b0d73ee3ebdefdb3386a /libavcodec/hnm4video.c
parentcbe84b4ffae4619417e119ed63d7c49826feac81 (diff)
downloadffmpeg-315e3cf047cf8151c53113f87699b3358406edfa.tar.gz
avcodec/hnm4video: remove redundant log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/hnm4video.c')
-rw-r--r--libavcodec/hnm4video.c4
1 files changed, 1 insertions, 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);