From b68f9fef32971095836ea6bbeb2f12af417120d2 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Wed, 4 May 2011 22:12:55 +0200 Subject: cleanup: shut up more warnings --- libmpdemux/demux_asf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpdemux/demux_asf.c') diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c index aef2f5ece0..5c79774da7 100644 --- a/libmpdemux/demux_asf.c +++ b/libmpdemux/demux_asf.c @@ -200,7 +200,7 @@ static int demux_asf_read_packet(demuxer_t *demux,unsigned char *data,int len,in */ static void get_payload_extension_data(demuxer_t *demux, unsigned char** pp, unsigned char id, unsigned int seq, int *keyframe, uint64_t *seg_time){ struct asf_priv* asf = demux->priv; - uint64_t payload_time; //100ns units + uint64_t payload_time = -1; //100ns units int i, ext_max, ext_timing_index; uint8_t *pi = *pp+4; @@ -362,8 +362,8 @@ static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ unsigned char segtype=p[1]; unsigned padding; unsigned plen; - unsigned sequence; - unsigned long time=0; + unsigned sequence av_unused; + unsigned long time av_unused = 0; unsigned short duration=0; int segs=1; -- cgit v1.2.3