avoid extract of imposible high depths in wrong rgb/bgr functions

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9117 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
iive 2003-01-26 22:24:48 +00:00
parent 1bf956391f
commit f7bdafd55a
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@
#define IMGFMT_IS_RGB(fmt) (((fmt)&IMGFMT_RGB_MASK)==IMGFMT_RGB)
#define IMGFMT_IS_BGR(fmt) (((fmt)&IMGFMT_BGR_MASK)==IMGFMT_BGR)
#define IMGFMT_RGB_DEPTH(fmt) ((fmt)&~IMGFMT_RGB)
#define IMGFMT_BGR_DEPTH(fmt) ((fmt)&~IMGFMT_BGR)
#define IMGFMT_RGB_DEPTH(fmt) ((fmt)&~IMGFMT_RGB_MASK)
#define IMGFMT_BGR_DEPTH(fmt) ((fmt)&~IMGFMT_BGR_MASK)
/* Planar YUV Formats */