diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-01-24 11:01:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-01-24 11:01:17 +0000 |
commit | 9ce5f3b7ea0c395cd81b941fd81d04fe34929bd7 (patch) | |
tree | 4b5e9c2ffe3f588b6ab76c0016eea432ce1e8428 /libavcodec/bmp.c | |
parent | a20a37e69a59493a3fa60007d3b610248b623ccb (diff) | |
download | ffmpeg-9ce5f3b7ea0c395cd81b941fd81d04fe34929bd7.tar.gz |
explicit values for all enums
Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bmp.c')
-rw-r--r-- | libavcodec/bmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c index b3d8e4b965..f286aebecf 100644 --- a/libavcodec/bmp.c +++ b/libavcodec/bmp.c @@ -28,10 +28,10 @@ typedef struct BMPContext { } BMPContext; typedef enum { - BMP_RGB=0, - BMP_RLE8, - BMP_RLE4, - BMP_BITFIELDS, + BMP_RGB =0, + BMP_RLE8 =1, + BMP_RLE4 =2, + BMP_BITFIELDS =3, } BiCompression; #define read16(bits) bswap_16(get_bits(bits, 16)) |