wavpack: remove redundant error log message

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-06-03 00:16:39 +00:00
parent 0f740fea85
commit a44d39ae42
1 changed files with 1 additions and 3 deletions

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