mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
flacparse: Initialize variables.
Fixes build on $#@*( macosx
This commit is contained in:
parent
c41fbca13c
commit
58b9479423
1 changed files with 2 additions and 2 deletions
|
@ -863,8 +863,8 @@ gst_flac_parse_handle_picture (GstFlacParse * flacparse, GstBuffer * buffer)
|
||||||
{
|
{
|
||||||
GstByteReader reader = GST_BYTE_READER_INIT_FROM_BUFFER (buffer);
|
GstByteReader reader = GST_BYTE_READER_INIT_FROM_BUFFER (buffer);
|
||||||
const guint8 *data = GST_BUFFER_DATA (buffer);
|
const guint8 *data = GST_BUFFER_DATA (buffer);
|
||||||
guint32 img_len, img_type;
|
guint32 img_len = 0, img_type = 0;
|
||||||
guint32 img_mimetype_len, img_description_len;
|
guint32 img_mimetype_len = 0, img_description_len = 0;
|
||||||
|
|
||||||
if (!gst_byte_reader_get_uint32_be (&reader, &img_type))
|
if (!gst_byte_reader_get_uint32_be (&reader, &img_type))
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in a new issue