# HG changeset patch # User michael # Date 1235310505 0 # Node ID 69e93bca7fd3b14be5eaeade4b86a0f706ccb4a8 # Parent d832fcef8bb825272eb9bcb4596b799dd417804f Add note about big vs. little endian. diff -r d832fcef8bb8 -r 69e93bca7fd3 avutil.h --- a/avutil.h Sun Feb 22 00:55:49 2009 +0000 +++ b/avutil.h Sun Feb 22 13:48:25 2009 +0000 @@ -80,6 +80,10 @@ * For all the 8bit per pixel formats, an RGB32 palette is in data[1] like * for pal8. This palette is filled in automatically by the function * allocating the picture. + * + * Note, make sure that all newly added big endian formats have pix_fmt&1==1 + * and that all newly added little endian formats have pix_fmt&1==0 + * this allows simpler detection of big vs little endian. */ enum PixelFormat { PIX_FMT_NONE= -1,