diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-10-02 16:03:00 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-10-02 16:03:00 +0000 |
commit | fb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch) | |
tree | 933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/mpeg.c | |
parent | 529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff) | |
download | ffmpeg-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/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 289be8caf6..ec89d5a9a2 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -409,7 +409,9 @@ static int mpegps_read_packet(AVFormatContext *s, { MpegDemuxContext *m = s->priv_data; AVStream *st; - int len, startcode, i, type, codec_id = 0, es_type; + int len, startcode, i, es_type; + enum CodecID codec_id = CODEC_ID_NONE; + enum CodecType type; int64_t pts, dts, dummy_pos; //dummy_pos is needed for the index building to work redo: |