[FFmpeg-devel] [PATCH 01/10] zlib decoder

Michael Niedermayer michaelni
Mon Jul 16 01:51:20 CEST 2007


Hi

On Mon, Jul 16, 2007 at 12:25:14AM +0100, M?ns Rullg?rd wrote:
[...]
> >> +static void
> >> +copy_bytes(uint8_t *dst, uint8_t *src, unsigned int len)
> >> +{
> >> +    while (len--)
> >> +        *dst++ = *src++;
> >> +}
> >
> > i think we have such a copy routine somewhere already, but i dont remember
> > where
> 
> Reimar said it looked familiar too.  Wherever it is, it's not in a
> central location.  Where would be the appropriate place for a function
> like this?

hmm utils.c probably could be used

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

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- 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/20070716/b3e50042/attachment.pgp>



More information about the ffmpeg-devel mailing list