[FFmpeg-devel] [PATCH] Warning fix: Change codec_id type to enum CodecID
Daniel Verkamp
daniel
Wed May 6 20:58:52 CEST 2009
-------------- next part --------------
>From 0c10c0b12f81fd40018481cb064c1e952bf21f07 Mon Sep 17 00:00:00 2001
From: Daniel Verkamp <daniel at drv.nu>
Date: Wed, 6 May 2009 14:00:22 -0500
Subject: [PATCH] Warning fix: Change codec_id type to enum CodecID
Fixes "libavdevice/alsa-audio-enc.c:57: warning: passing argument 5 of
'ff_alsa_open' from incompatible pointer type"
---
libavdevice/alsa-audio-enc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavdevice/alsa-audio-enc.c b/libavdevice/alsa-audio-enc.c
index 7d3107a..901af8b 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];
--
1.6.2.3
More information about the ffmpeg-devel
mailing list