summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-07-04 08:18:03 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-07-04 08:18:03 +0000
commit340e2303924db326817c5b47a9424623ac1401f1 (patch)
tree6980d9e922eb94de2650251b4f17d66666013be1 /ffmpeg.c
parent4eba9cdd07988d13ba0065024305f765f94ae65d (diff)
Use enum CodecID instead of int.
Fixes the following icc warning: warning #188: enumerated type mixed with another type Originally committed as revision 19340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 18bf949394..22bfed8dc2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3051,7 +3051,7 @@ static void new_video_stream(AVFormatContext *oc)
{
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(AVFormatContext *oc)
{
AVStream *st;
AVCodecContext *audio_enc;
- int codec_id;
+ enum CodecID codec_id;
st = av_new_stream(oc, oc->nb_streams);
if (!st) {