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

@@ -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: