OSDN Git Service

pcm_mpeg: fix number of consumed bytes to include the header.
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 10 Apr 2012 17:49:14 +0000 (19:49 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Tue, 29 May 2012 14:08:56 +0000 (16:08 +0200)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/pcm-mpeg.c

index 51a08d6..8340715 100644 (file)
@@ -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 = {