diff options
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: |