[SCM] libav/experimental: Change codec_id type to enum CodecID, fix warning.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:45:25 UTC 2013


The following commit has been merged in the experimental branch:
commit cf6bae6883607f83f3b042b7b9d711197f736e2a
Author: Daniel Verkamp <daniel at drv.nu>
Date:   Wed May 6 22:38:21 2009 +0000

    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

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];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list