summaryrefslogtreecommitdiff
path: root/libavcodec/pcm-dvd.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-09-01 19:19:31 +0000
committerPaul B Mahol <onemda@gmail.com>2013-09-01 19:19:31 +0000
commitfc435d977a537f7f97a1e489bc56cf3755081c3d (patch)
tree28040bd79c4e2176339119e9c1f00d528f6ad3d4 /libavcodec/pcm-dvd.c
parent91acb23a2880a14e202d157c65c3a0c495b79843 (diff)
downloadffmpeg-fc435d977a537f7f97a1e489bc56cf3755081c3d.tar.gz
pcm-dvd: remove redundant log message
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/pcm-dvd.c')
-rw-r--r--libavcodec/pcm-dvd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index b984969280..e3906a2074 100644
--- a/libavcodec/pcm-dvd.c
+++ b/libavcodec/pcm-dvd.c
@@ -236,10 +236,8 @@ static int pcm_dvd_decode_frame(AVCodecContext *avctx, void *data,
/* get output buffer */
frame->nb_samples = blocks * s->samples_per_block;
- if ((retval = ff_get_buffer(avctx, frame, 0)) < 0) {
- av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+ if ((retval = ff_get_buffer(avctx, frame, 0)) < 0)
return retval;
- }
dst = frame->data[0];
/* consume leftover samples from last packet */