On 2012-05-29 16:08:07 +0200, Hendrik Leppkes wrote: > Hi, > > see attached patched. > After the pcm_mpeg decoder was converted to the new bytestream api, the > number of consumed bytes returned did no longer include the 4 byte header. > > - Hendrik
> From 1da1a155913702ce8f7b0293db337d6a289d6b45 Mon Sep 17 00:00:00 2001 > From: Hendrik Leppkes <[email protected]> > Date: Tue, 10 Apr 2012 19:49:14 +0200 > Subject: [PATCH 01/10] pcm_mpeg: fix number of consumed bytes to include the > header. > > --- > 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 8e1c924..a268a64 100644 > --- a/libavcodec/pcm-mpeg.c > +++ b/libavcodec/pcm-mpeg.c > @@ -312,7 +312,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 = { ok, will push in a moment Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
