[FFmpeg-devel] [PATCH 2/9] Fix inverted logic in the description of the MONOWHITE and MONOBLACK formats.

Stefano Sabatini stefano.sabatini-lala
Tue May 11 01:00:04 CEST 2010


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

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index ef06049..a6b0977 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -68,8 +68,8 @@ enum PixelFormat {
     PIX_FMT_YUV410P,   ///< planar YUV 4:1:0,  9bpp, (1 Cr & Cb sample per 4x4 Y samples)
     PIX_FMT_YUV411P,   ///< planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
     PIX_FMT_GRAY8,     ///<        Y        ,  8bpp
-    PIX_FMT_MONOWHITE, ///<        Y        ,  1bpp, 0 is white, 1 is black
-    PIX_FMT_MONOBLACK, ///<        Y        ,  1bpp, 0 is black, 1 is white
+    PIX_FMT_MONOWHITE, ///<        Y        ,  1bpp, 1 is white, 0 is black
+    PIX_FMT_MONOBLACK, ///<        Y        ,  1bpp, 1 is black, 0 is white
     PIX_FMT_PAL8,      ///< 8 bit with PIX_FMT_RGB32 palette
     PIX_FMT_YUVJ420P,  ///< planar YUV 4:2:0, 12bpp, full scale (JPEG)
     PIX_FMT_YUVJ422P,  ///< planar YUV 4:2:2, 16bpp, full scale (JPEG)
-- 
1.7.0




More information about the ffmpeg-devel mailing list