Browse Source

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

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
tags/n1.0
Hendrik Leppkes Janne Grunau 14 years ago
parent
commit
c58bcead3b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcm-mpeg.c

+ 1
- 1
libavcodec/pcm-mpeg.c View 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 = {


Loading…
Cancel
Save