[FFmpeg-devel] [PATCH 1/5] Add av_ prefix to bswap macros

Måns Rullgård mans
Sat Jul 10 16:49:28 CEST 2010


Justin Ruggles <justin.ruggles at gmail.com> writes:

> Mans Rullgard wrote:
>
>> -// be2me ... big-endian to machine-endian
>> -// le2me ... little-endian to machine-endian
>> +// be2ne ... big-endian to native-endian
>> +// le2ne ... little-endian to native-endian
>
> Any particular reason to change this from "machine" to "native"?  My
> first thought was that "ne" might be confused with network byte order.

NE is used everywhere else, e.g. intreadwrite.h and pixfmt.h.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list