mirror of https://git.ffmpeg.org/ffmpeg.git
wavpack: remove redundant error log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
0f740fea85
commit
a44d39ae42
|
@ -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…
Reference in New Issue