wavpack: remove redundant error log message

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/23/merge
Paul B Mahol 12 years ago
parent 0f740fea85
commit a44d39ae42
  1. 4
      libavcodec/wavpack.c

@ -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;
}

Loading…
Cancel
Save