aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-04-10 19:49:14 +0200
committerJanne Grunau <janne-libav@jannau.net>2012-05-29 16:08:56 +0200
commitc58bcead3b84765ee7bc22258bca672fc0d63733 (patch)
tree27823fb1296e495aaa01fe4c4390217e2c0e924c /libavcodec
parent12d42cd7a869a58e6308b76f7234701f1d943d93 (diff)
downloadffmpeg-c58bcead3b84765ee7bc22258bca672fc0d63733.tar.gz
pcm_mpeg: fix number of consumed bytes to include the header.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pcm-mpeg.c2
1 files changed, 1 insertions, 1 deletions
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 = {