OSDN Git Service

Fix icc warning #188: enumerated type mixed with another type.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 14 Apr 2009 22:19:43 +0000 (22:19 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Tue, 14 Apr 2009 22:19:43 +0000 (22:19 +0000)
Originally committed as revision 18513 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/alsa-audio-dec.c

index 6f0c214..48ed75e 100644 (file)
@@ -57,7 +57,7 @@ av_cold static int audio_read_header(AVFormatContext *s1,
     AVStream *st;
     int ret;
     unsigned int sample_rate;
-    int codec_id;
+    enum CodecID codec_id;
     snd_pcm_sw_params_t *sw_params;
 
     if (ap->sample_rate <= 0) {