[SCM] libav/experimental: print error when decoding fails

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:54:43 UTC 2013


The following commit has been merged in the experimental branch:
commit d0f4e4fb17394080b64ea15324733ea0b3d126ca
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Jan 10 14:23:28 2007 +0000

    print error when decoding fails
    
    Originally committed as revision 7436 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/a52dec.c b/libavcodec/a52dec.c
index e810bc7..0a7c0c5 100644
--- a/libavcodec/a52dec.c
+++ b/libavcodec/a52dec.c
@@ -217,6 +217,7 @@ static int a52_decode_frame(AVCodecContext *avctx,
             level = 1;
             if (s->a52_frame(s->state, s->inbuf, &flags, &level, 384)) {
             fail:
+                av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n");
                 s->inbuf_ptr = s->inbuf;
                 s->frame_size = 0;
                 continue;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list