1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

explicit values for all enums

Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-01-24 11:01:17 +00:00
parent a20a37e69a
commit 9ce5f3b7ea

View File

@ -28,10 +28,10 @@ typedef struct BMPContext {
} BMPContext; } BMPContext;
typedef enum { typedef enum {
BMP_RGB=0, BMP_RGB =0,
BMP_RLE8, BMP_RLE8 =1,
BMP_RLE4, BMP_RLE4 =2,
BMP_BITFIELDS, BMP_BITFIELDS =3,
} BiCompression; } BiCompression;
#define read16(bits) bswap_16(get_bits(bits, 16)) #define read16(bits) bswap_16(get_bits(bits, 16))