mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
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
This commit is contained in:
parent
4eba9cdd07
commit
340e230392
4
ffmpeg.c
4
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user