[Ffmpeg-devel] [PATCH] pcm decode fix

Michael Niedermayer michaelni
Wed Mar 28 01:38:31 CEST 2007


Hi

On Tue, Mar 27, 2007 at 03:55:40PM +0200, Baptiste Coudurier wrote:
> Baptiste Coudurier wrote:
> > Baptiste Coudurier wrote:
> >> Hi
> >>
> >> It seems FFMIN should not use data_size / 2, since all codecs already
> >> computes n based on data_size.
> > 
> > Sorry, I think this is wrong.
> > 
> 
> That should be more correct, samples is short *, allocated size is
> related to destination type size, len passed to decode_audio2, is
> related to pkt->data which is uint8_t *

patch looks ok


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070328/dcdef113/attachment.pgp>



More information about the ffmpeg-devel mailing list