]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add note about big vs. little endian.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 22 Feb 2009 13:48:25 +0000 (13:48 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 22 Feb 2009 13:48:25 +0000 (13:48 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17525 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavutil/avutil.h

index 176c6d0de02310bdd4258e3f007dd72bde9012c6..6dd1eb79382b212f8b7039ae260230440a744e3d 100644 (file)
@@ -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,