avcodec/hnm4video: remove redundant log message
authorPaul B Mahol <onemda@gmail.com>
Thu, 7 Nov 2013 14:04:21 +0000 (14:04 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 7 Nov 2013 14:04:21 +0000 (14:04 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/hnm4video.c

index d681217..1e3c0fd 100644 (file)
@@ -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);