projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088ae75
)
qtdemux: Fix unitialized variables on macosx
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:28:58 +0000
(12:28 +0100)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:28:58 +0000
(12:28 +0100)
gst/qtdemux/qtdemux_dump.c
patch
|
blob
|
history
diff --git
a/gst/qtdemux/qtdemux_dump.c
b/gst/qtdemux/qtdemux_dump.c
index
d7fa62a
..
fa66767
100644
(file)
--- 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) ||