[FFmpeg-devel] [PATCH] Make pcm.c use bytestream functions
Ramiro Ribeiro Polla
ramiro
Thu May 10 01:33:05 CEST 2007
Michael Niedermayer wrote:
> Hi
>
> On Fri, Mar 16, 2007 at 07:00:47PM -0300, Ramiro Polla wrote:
>
>> Michael Niedermayer escreveu:
>>
>>>> case CODEC_ID_PCM_ALAW:
>>>> for(;n>0;n--) {
>>>> v = *samples++;
>>>> - dst[0] = linear_to_alaw[(v + 32768) >> 2];
>>>> - dst++;
>>>> + *dst = linear_to_alaw[(v + 32768) >> 2];
>>>> }
>>>>
>>>>
>>> ++
>>>
>>>
>>>
>> Oops... New patch attached.
>>
>
> looks ok
>
>
Applied.
More information about the ffmpeg-devel
mailing list