[Ffmpeg-devel] [PATCH] pcm decode fix

Baptiste Coudurier baptiste.coudurier
Tue Mar 27 15:55:40 CEST 2007

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 *

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm_decode_fix.patch
Type: text/x-diff
Size: 688 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070327/6a7dd565/attachment.patch>

More information about the ffmpeg-devel mailing list