explicit values for all enums

Originally committed as revision 7683 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent a20a37e69a
commit 9ce5f3b7ea
  1. 8
      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))

Loading…
Cancel
Save