summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 12:28:58 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 12:28:58 +0100
commit74360c22be94be528e8b016813a3eb54b82c2bdf (patch)
tree8ba1ec531c9e1406654f17fa8ef88f556e97eb17
parent088ae75681bf9e803fc7b7a10f2d2a6c23379dd5 (diff)
qtdemux: Fix unitialized variables on macosx
-rw-r--r--gst/qtdemux/qtdemux_dump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/qtdemux/qtdemux_dump.c b/gst/qtdemux/qtdemux_dump.c
index d7fa62ab7..fa6676758 100644
--- a/gst/qtdemux/qtdemux_dump.c
+++ b/gst/qtdemux/qtdemux_dump.c
@@ -621,8 +621,9 @@ qtdemux_dump_tfhd (GstQTDemux * qtdemux, GstByteReader * data, int depth)
gboolean
qtdemux_dump_trun (GstQTDemux * qtdemux, GstByteReader * data, int depth)
{
- guint32 flags, samples_count, data_offset, first_sample_flags;
- guint32 sample_duration, sample_size, sample_flags, composition_time_offsets;
+ guint32 flags = 0, samples_count = 0, data_offset = 0, first_sample_flags = 0;
+ guint32 sample_duration = 0, sample_size = 0, sample_flags =
+ 0, composition_time_offsets = 0;
int i = 0;
if (!gst_byte_reader_skip (data, 1) ||