[FFmpeg-cvslog] pcm_mpeg: fix number of consumed bytes to include the header.

Hendrik Leppkes git at videolan.org
Wed May 30 01:51:54 CEST 2012


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Tue Apr 10 19:49:14 2012 +0200| [c58bcead3b84765ee7bc22258bca672fc0d63733] | committer: Janne Grunau

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

Signed-off-by: Janne Grunau <janne-libav at jannau.net>

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

 libavcodec/pcm-mpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 = {



More information about the ffmpeg-cvslog mailing list