Mercurial > libavformat.hg
diff mpeg.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 | 1d3d17de20ba |
children | 77e0c7511d41 |
line wrap: on
line diff
--- a/mpeg.c Thu Oct 02 15:52:04 2008 +0000 +++ b/mpeg.c Thu Oct 02 16:03:00 2008 +0000 @@ -409,7 +409,9 @@ { 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: