[FFmpeg-cvslog] pcm-dvd: remove redundant log message

Paul B Mahol git at videolan.org
Sun Sep 1 21:23:19 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep  1 19:19:31 2013 +0000| [fc435d977a537f7f97a1e489bc56cf3755081c3d] | committer: Paul B Mahol

pcm-dvd: remove redundant log message

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc435d977a537f7f97a1e489bc56cf3755081c3d
---

 libavcodec/pcm-dvd.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index b984969..e3906a2 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 */



More information about the ffmpeg-cvslog mailing list