aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-10-02 16:03:00 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-10-02 16:03:00 +0000
commitfb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch)
tree933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/mpegts.c
parent529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff)
downloadffmpeg-fb65d2ca84d79fb1c5a5708555c23e1d289b5c92.tar.gz
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
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 80b604c5ae..9f41d396a9 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -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: