[FFmpeg-cvslog] Add unused pixel format (PIX_FMT_UNUSED) to make PIX_FMT_BGR48BE an odd-valued enumeration

Peter Ross git at videolan.org
Sat Mar 19 17:57:53 CET 2011


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sat Mar 19 15:24:09 2011 +1100| [43dc31f7469c873ccf3927c732a9c2d7d85360bb] | committer: Michael Niedermayer

Add unused pixel format (PIX_FMT_UNUSED) to make PIX_FMT_BGR48BE an odd-valued enumeration

This is required for the isBE() macro internal to libswscale.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=43dc31f7469c873ccf3927c732a9c2d7d85360bb
---

 libavutil/pixfmt.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index de92f8f..0fdcaf5 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -133,6 +133,7 @@ enum PixelFormat {
     PIX_FMT_BGR444BE,  ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1
     PIX_FMT_BGR444LE,  ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1
     PIX_FMT_Y400A,     ///< 8bit gray, 8bit alpha
+    PIX_FMT_UNUSED,
     PIX_FMT_BGR48BE,   ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian
     PIX_FMT_BGR48LE,   ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian
     PIX_FMT_NB,        ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions




More information about the ffmpeg-cvslog mailing list