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:

committed by
Benoit Fouet

parent
529dae12f7
commit
fb65d2ca84
@@ -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:
|
||||
|
Reference in New Issue
Block a user