summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-02-22 13:48:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-02-22 13:48:25 +0000
commit50ded3fdb65aa6298253a1522c0981c3e113d022 (patch)
tree231fdf8d75c20c91a14fcf7c78b29817824c04d8 /libavutil
parente27ad11840c22e1ad9d510dac50e274a1777c0aa (diff)
Add note about big vs. little endian.
Originally committed as revision 17525 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 176c6d0de0..6dd1eb7938 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -80,6 +80,10 @@ unsigned avutil_version(void);
* 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,