Module: libav
Branch: master
Commit: c58bcead3b84765ee7bc22258bca672fc0d63733

Author:    Hendrik Leppkes <h.lepp...@gmail.com>
Committer: Janne Grunau <janne-li...@jannau.net>
Date:      Tue Apr 10 19:49:14 2012 +0200

pcm_mpeg: fix number of consumed bytes to include the header.

Signed-off-by: Janne Grunau <janne-li...@jannau.net>

---

 libavcodec/pcm-mpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/pcm-mpeg.c b/libavcodec/pcm-mpeg.c
index 51a08d6..8340715 100644
--- a/libavcodec/pcm-mpeg.c
+++ b/libavcodec/pcm-mpeg.c
@@ -311,7 +311,7 @@ static int pcm_bluray_decode_frame(AVCodecContext *avctx, 
void *data,
     if (avctx->debug & FF_DEBUG_BITSTREAM)
         av_dlog(avctx, "pcm_bluray_decode_frame: decoded %d -> %d bytes\n",
                 retval, buf_size);
-    return retval;
+    return retval + 4;
 }
 
 AVCodec ff_pcm_bluray_decoder = {

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to