Commit 202715c0 authored by cehoyos's avatar cehoyos

Use enum CodecID instead of int.

Fixes the following icc warning:
warning #188: enumerated type mixed with another type


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19340 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 78b4a80b
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment