Quote:
Originally Posted by pinterf
Isn't is normal? It is encoded the same way as all the others.
012P = P210
008Y = Y800
[16][10]3Y = Y3[10][16]
etc...
|
This is strange but these literals are translated differently.
'610P' -> 'P','0','1','6'
'\012\0123Y' -> 10,10,'3','Y'
How about this:
Code:
#define MAKEFOURCC(byte1, byte2, byte3, byte4) (((uint8)byte1) + (((uint8)byte2) << 8) + (((uint8)byte3) << 16) + (((uint8)byte4) << 24))
MAKEFOURCC('Y', '3', 10, 16)