Hi Michel, Michel Bardiaux wrote: > Michael Niedermayer wrote: >> Hi >> >> On Tue, Jan 23, 2007 at 03:33:52PM +0100, Alex Beregszaszi wrote: >>> > Hi, >>> > >>>> > > +#define read16(bits) bswap_16(get_bits(bits, 16)) >>>> > > +#define read32(bits) bswap_32(get_bits_long(bits, 32)) >>> > ... >>>> > > +#define write16(bits, val) put_bits(bits, 16, bswap_16(val)) >>>> > > +#define write32(bits, val) put_bits(bits, 32, bswap_32(val)) >>> > > What about using bytestream.h or intreadwrite.h instead this? I >>> dont see >>> > its putting/reading non-8bit aligned data: >> >> no objections feel free to send a patch after this has been applied > > Here it is. > [...] Applied. Thanks for the patch! With friendly regards, Takis
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4