# HG changeset patch # User cehoyos # Date 1229983807 0 # Node ID e51ace85da6c63c39f8e5a88e83fae46e2257824 # Parent 6afa3d7c206e46a8197226ab1e402d84813b18c2 Fix a warning when compiling with icc: warning #188: enumerated type mixed with another type diff -r 6afa3d7c206e -r e51ace85da6c ipmovie.c --- a/ipmovie.c Mon Dec 22 11:23:00 2008 +0000 +++ b/ipmovie.c Mon Dec 22 22:10:07 2008 +0000 @@ -101,7 +101,7 @@ unsigned int audio_bits; unsigned int audio_channels; unsigned int audio_sample_rate; - unsigned int audio_type; + enum CodecID audio_type; unsigned int audio_frame_count; int video_stream_index; @@ -544,7 +544,7 @@ url_fseek(pb, -CHUNK_PREAMBLE_SIZE, SEEK_CUR); if (chunk_type == CHUNK_VIDEO) - ipmovie->audio_type = 0; /* no audio */ + ipmovie->audio_type = CODEC_ID_NONE; /* no audio */ else if (process_ipmovie_chunk(ipmovie, pb, &pkt) != CHUNK_INIT_AUDIO) return AVERROR_INVALIDDATA;