summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-17 15:19:03 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2011-10-17 15:19:03 +0300
commit6e5df7fe3e8eb27e159898a0eefb1ca1f384e9c2 (patch)
tree11bc23cef2d6e3acb3e73721ed3f98a68a172f68 /src
parent0b6b1aa65cb5b072540b2a35d5e5237c528e814b (diff)
downloadxine-lib-6e5df7fe3e8eb27e159898a0eefb1ca1f384e9c2.tar.gz
xine-lib-6e5df7fe3e8eb27e159898a0eefb1ca1f384e9c2.tar.bz2
Fixed warnings
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/asfheader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/demuxers/asfheader.c b/src/demuxers/asfheader.c
index 1482ac982..7a1397d73 100644
--- a/src/demuxers/asfheader.c
+++ b/src/demuxers/asfheader.c
@@ -234,7 +234,7 @@ static int asf_header_get_stream_id(asf_header_t *header_pub, uint16_t stream_nu
static int asf_header_parse_file_properties(asf_header_t *header, uint8_t *buffer, int buffer_len) {
asf_reader_t reader;
asf_file_t *asf_file;
- uint32_t flags;
+ uint32_t flags = 0;
if (buffer_len < 80) {
lprintf("invalid asf file properties object\n");
@@ -287,7 +287,7 @@ static int asf_header_parse_file_properties(asf_header_t *header, uint8_t *buffe
static int asf_header_parse_stream_properties(asf_header_t *header, uint8_t *buffer, int buffer_len) {
asf_reader_t reader;
- uint16_t flags;
+ uint16_t flags = 0;
uint32_t junk;
GUID guid;
asf_stream_t *asf_stream = NULL;
@@ -357,7 +357,7 @@ exit_error:
static int asf_header_parse_stream_extended_properties(asf_header_t *header, uint8_t *buffer, int buffer_len) {
asf_reader_t reader;
- uint32_t flags;
+ uint32_t flags = 0;
uint16_t stream_number;
int i;
int stream_id;