[Ffmpeg-devel] Re: [PATCH] Make pcm.c use bytestream functions
Ramiro Polla
ramiro
Fri Mar 16 23:00:47 CET 2007
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.
Ramiro Polla
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pcm_byte_1.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070316/d2b6b140/attachment.asc>
More information about the ffmpeg-devel
mailing list