wavpack: remove redundant error log message
authorPaul B Mahol <onemda@gmail.com>
Mon, 3 Jun 2013 00:16:39 +0000 (00:16 +0000)
committerPaul B Mahol <onemda@gmail.com>
Mon, 3 Jun 2013 00:20:04 +0000 (00:20 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/wavpack.c

index 0ca6fcada37d089262b0521064963e6fa602c93c..6d16d168dcf1fdfab7c69d258500f8fbaaf20f1c 100644 (file)
@@ -1120,10 +1120,8 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no,
 
         /* get output buffer */
         frame->nb_samples = s->samples + 1;
-        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;
-        }
         frame->nb_samples = s->samples;
     }