[Ffmpeg-devel] [PATCH] bswap fix

Roine Gustafsson roine
Mon May 9 23:35:53 CEST 2005


This fix will make bswap_16 and bswap_32 (and hence le2me/be2me) not 
retrieve the argument several times.
This makes it possible to use e.g. le2me_32(get_bits_long(gb,32)) 
without very strange side effects, and which will work on one arch but 
not another since one arch generates a dummy function.

I see shorten already uses it like that - that shouldn't work.

   /Roine

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bswap.patch
Type: application/octet-stream
Size: 950 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050509/4df8be37/attachment.obj>



More information about the ffmpeg-devel mailing list