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:
Vineeth TM 2015-06-22 13:16:08 +09:00 committed by Luis de Bethencourt
parent 331fca4dfb
commit 78fcd03ca3

View file

@ -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;