Mercurial > libavformat.hg
diff mpegts.c @ 3967:4fd67f05bad9 libavformat
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Petten: flameeyes gmail
author | benoit |
---|---|
date | Thu, 02 Oct 2008 16:03:00 +0000 |
parents | 178cc6f9d5ec |
children | bf1b4748cd2e |
line wrap: on
line diff
--- a/mpegts.c Thu Oct 02 15:52:04 2008 +0000 +++ b/mpegts.c Thu Oct 02 16:03:00 2008 +0000 @@ -934,7 +934,8 @@ 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: