Use enum typers instead of int.

Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail

Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò 2008-10-02 16:03:00 +00:00 committed by Benoit Fouet
parent 529dae12f7
commit fb65d2ca84
11 changed files with 24 additions and 17 deletions

View file

@ -934,7 +934,8 @@ static void mpegts_push_data(MpegTSFilter *filter,
static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code)
{
AVStream *st;
int codec_type, codec_id;
enum CodecID codec_id;
enum CodecType codec_type;
switch(pes->stream_type){
case STREAM_TYPE_AUDIO_MPEG1: