[MPlayer-cvslog] r34502 - trunk/fmt-conversion.c

siretart subversion at mplayerhq.hu
Wed Jan 4 21:30:10 CET 2012


Author: siretart
Date: Wed Jan  4 21:30:10 2012
New Revision: 34502

Log:
fmt-conversion.c: add a remark about the usage of #ifdef directives

Modified:
   trunk/fmt-conversion.c

Modified: trunk/fmt-conversion.c
==============================================================================
--- trunk/fmt-conversion.c	Wed Jan  4 21:28:43 2012	(r34501)
+++ trunk/fmt-conversion.c	Wed Jan  4 21:30:10 2012	(r34502)
@@ -57,6 +57,8 @@ static const struct {
     {IMGFMT_RGB8,    PIX_FMT_BGR8},
     {IMGFMT_RGB4,    PIX_FMT_BGR4},
     {IMGFMT_BGR8,    PIX_FMT_PAL8},
+// NB: This works only because PIX_FMT_0RGB32 is a CPP Macro.
+//     note that most other PIX_FMT values are enums
 #ifdef PIX_FMT_0RGB32
     {IMGFMT_BGR32,   PIX_FMT_0RGB32},
 #endif


More information about the MPlayer-cvslog mailing list