mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
11
Src/Wasabi/bfc/std_mkncc.h
Normal file
11
Src/Wasabi/bfc/std_mkncc.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef _STD_MKNCC
|
||||
#define _STD_MKNCC
|
||||
|
||||
// note: this is endian-incompatible with win32's MAKEFOURCC
|
||||
// otoh, it shows up nicely in a debug register ;)
|
||||
|
||||
#define MK4CC(a, b, c, d) ( (((unsigned long)a)<<24)|(((unsigned long)b)<<16)|(((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
#define MK3CC(b, c, d) ( (((unsigned long)b)<<16)|(((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
#define MK2CC(c, d) ( (((unsigned long)c)<<8)|((unsigned long)d) )
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user