From c58bcead3b84765ee7bc22258bca672fc0d63733 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 10 Apr 2012 19:49:14 +0200 Subject: pcm_mpeg: fix number of consumed bytes to include the header. Signed-off-by: Janne Grunau --- 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 51a08d68d2..8340715cb5 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 = { -- cgit v1.2.3