Commit 696c3068 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix icc warning #188: enumerated type mixed with another type

Originally committed as revision 13144 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e3227b3f
...@@ -37,6 +37,7 @@ typedef struct avs_format { ...@@ -37,6 +37,7 @@ typedef struct avs_format {
} avs_format_t; } avs_format_t;
typedef enum avs_block_type { typedef enum avs_block_type {
AVS_NONE = 0x00,
AVS_VIDEO = 0x01, AVS_VIDEO = 0x01,
AVS_AUDIO = 0x02, AVS_AUDIO = 0x02,
AVS_PALETTE = 0x03, AVS_PALETTE = 0x03,
...@@ -142,7 +143,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt) ...@@ -142,7 +143,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt)
{ {
avs_format_t *avs = s->priv_data; avs_format_t *avs = s->priv_data;
int sub_type = 0, size = 0; int sub_type = 0, size = 0;
avs_block_type_t type = 0; avs_block_type_t type = AVS_NONE;
int palette_size = 0; int palette_size = 0;
uint8_t palette[4 + 3 * 256]; uint8_t palette[4 + 3 * 256];
int ret; int ret;
......
...@@ -49,11 +49,11 @@ ...@@ -49,11 +49,11 @@
typedef struct EaDemuxContext { typedef struct EaDemuxContext {
int big_endian; int big_endian;
int video_codec; enum CodecID video_codec;
AVRational time_base; AVRational time_base;
int video_stream_index; int video_stream_index;
int audio_codec; enum CodecID audio_codec;
int audio_stream_index; int audio_stream_index;
int audio_frame_counter; int audio_frame_counter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment