[FFmpeg-cvslog] r19340 - trunk/ffmpeg.c

cehoyos subversion
Sat Jul 4 10:18:03 CEST 2009


Author: cehoyos
Date: Sat Jul  4 10:18:03 2009
New Revision: 19340

Log:
Use enum CodecID instead of int.
Fixes the following icc warning:
warning #188: enumerated type mixed with another type

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Sat Jul  4 10:02:01 2009	(r19339)
+++ trunk/ffmpeg.c	Sat Jul  4 10:18:03 2009	(r19340)
@@ -3051,7 +3051,7 @@ static void new_video_stream(AVFormatCon
 {
     AVStream *st;
     AVCodecContext *video_enc;
-    int codec_id;
+    enum CodecID codec_id;
 
     st = av_new_stream(oc, oc->nb_streams);
     if (!st) {
@@ -3193,7 +3193,7 @@ static void new_audio_stream(AVFormatCon
 {
     AVStream *st;
     AVCodecContext *audio_enc;
-    int codec_id;
+    enum CodecID codec_id;
 
     st = av_new_stream(oc, oc->nb_streams);
     if (!st) {



More information about the ffmpeg-cvslog mailing list