浏览代码

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

Originally committed as revision 18513 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos 16 年之前
父节点
当前提交
5c463aacb2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libavdevice/alsa-audio-dec.c

+ 1 - 1
libavdevice/alsa-audio-dec.c

@@ -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) {