From cf6bae6883607f83f3b042b7b9d711197f736e2a Mon Sep 17 00:00:00 2001
From: Daniel Verkamp <daniel@drv.nu>
Date: Wed, 6 May 2009 22:38:21 +0000
Subject: [PATCH] Change codec_id type to enum CodecID, fix warning.

Patch by Daniel Verkamp daniel @ drv @ nu.

Originally committed as revision 18768 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavdevice/alsa-audio-enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c
index 7d3107acca..901af8b19b 100644
--- a/libavdevice/alsa-audio-enc.c
+++ b/libavdevice/alsa-audio-enc.c
@@ -47,7 +47,7 @@ av_cold static int audio_write_header(AVFormatContext *s1)
     AlsaData *s = s1->priv_data;
     AVStream *st;
     unsigned int sample_rate;
-    int codec_id;
+    enum CodecID codec_id;
     int res;
 
     st = s1->streams[0];