mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
dcaparse: initialize size variable
size can be used in cleanup without being initialized. Hence setting it to 0 when declaring https://bugzilla.gnome.org/show_bug.cgi?id=751306
This commit is contained in:
parent
331fca4dfb
commit
78fcd03ca3
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ gst_dca_parse_handle_frame (GstBaseParse * parse,
|
||||||
gboolean parser_in_sync;
|
gboolean parser_in_sync;
|
||||||
gboolean terminator;
|
gboolean terminator;
|
||||||
guint32 sync = 0;
|
guint32 sync = 0;
|
||||||
guint size, rate, chans, num_blocks, samples_per_block, depth;
|
guint size = 0, rate, chans, num_blocks, samples_per_block, depth;
|
||||||
gint block_size;
|
gint block_size;
|
||||||
gint endianness;
|
gint endianness;
|
||||||
gint off = -1;
|
gint off = -1;
|
||||||
|
|
Loading…
Reference in a new issue