diff options
Diffstat (limited to 'libavcodec/ws-snd1.c')
-rw-r--r-- | libavcodec/ws-snd1.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index d4e866f4ef..d27df75ae7 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.c @@ -81,10 +81,8 @@ static int ws_snd_decode_frame(AVCodecContext *avctx, void *data, /* get output buffer */ frame->nb_samples = out_size; - 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; - } samples = frame->data[0]; samples_end = samples + out_size; |