Mercurial > mplayer.hg
diff fmt-conversion.c @ 34414:6f48ca5471b6
fmt-conversion.c: add a remark about the usage of #ifdef directives
author | siretart |
---|---|
date | Wed, 04 Jan 2012 20:30:10 +0000 |
parents | 95f802285711 |
children | 8a96cf601e57 |
line wrap: on
line diff
--- a/fmt-conversion.c Wed Jan 04 20:28:43 2012 +0000 +++ b/fmt-conversion.c Wed Jan 04 20:30:10 2012 +0000 @@ -57,6 +57,8 @@ {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