[Ffmpeg-devel] Re: [PATCH] Make pcm.c use bytestream functions

Michael Niedermayer michaelni
Sat Mar 17 00:04:42 CET 2007


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

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20070317/80621af3/attachment.pgp>



More information about the ffmpeg-devel mailing list