summaryrefslogtreecommitdiff
path: root/libavdevice/alsa-audio.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-04-14 22:30:11 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-04-14 22:30:11 +0000
commit899f38df62b0846a638ee7c0611de7f9fe33727f (patch)
tree290d3f324eb4c911d154840d28a78b256a0962a4 /libavdevice/alsa-audio.h
parent34bcada42428a8206cfeaecf0b312e174289dec2 (diff)
Fix two icc warnings #188: enumerated type mixed with another type.
Originally committed as revision 18515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/alsa-audio.h')
-rw-r--r--libavdevice/alsa-audio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/alsa-audio.h b/libavdevice/alsa-audio.h
index 2406e8dc19..a7fbb8d281 100644
--- a/libavdevice/alsa-audio.h
+++ b/libavdevice/alsa-audio.h
@@ -63,8 +63,8 @@ typedef struct {
*
* @return 0 if OK, AVERROR_xxx on error
*/
-int ff_alsa_open(AVFormatContext *s, int mode, unsigned int *sample_rate,
- int channels, int *codec_id);
+int ff_alsa_open(AVFormatContext *s, snd_pcm_stream_t mode, unsigned int *sample_rate,
+ int channels, enum CodecID *codec_id);
/**
* Closes the ALSA PCM.