[Ffmpeg-devel] [PATCH] pcm decode fix

Baptiste Coudurier baptiste.coudurier
Wed Mar 28 13:52:38 CEST 2007


Hi

Michael Niedermayer wrote:
> 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
> 

Applied.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list