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:
fc94c56
)
flacparse: Initialize variables.
author
Edward Hervey
<bilboed@bilboed.com>
Tue, 12 Jan 2010 17:55:53 +0000
(18:55 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:04 +0000
(18:07 +0100)
Fixes build on $#@*( macosx
gst/audioparsers/gstflacparse.c
patch
|
blob
|
history
diff --git
a/gst/audioparsers/gstflacparse.c
b/gst/audioparsers/gstflacparse.c
index
672a9b4
..
4e2fe53
100644
(file)
--- a/
gst/audioparsers/gstflacparse.c
+++ b/
gst/audioparsers/gstflacparse.c
@@
-863,8
+863,8
@@
gst_flac_parse_handle_picture (GstFlacParse * flacparse, GstBuffer * buffer)
{
GstByteReader reader = GST_BYTE_READER_INIT_FROM_BUFFER (buffer);
const guint8 *data = GST_BUFFER_DATA (buffer);
- guint32 img_len
, img_type
;
- guint32 img_mimetype_len
, img_description_len
;
+ guint32 img_len
= 0, img_type = 0
;
+ guint32 img_mimetype_len
= 0, img_description_len = 0
;
if (!gst_byte_reader_get_uint32_be (&reader, &img_type))
goto error;