summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2013-01-28 11:54:54 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-01-28 11:58:50 +0000
commit721dd1ab260158a7f4044cdeeaadda06015d063b (patch)
tree55f2dd23b3777b6bcc3a202cdd1a560e94bceada
parent4397c8ffbfdac3fee7db98cf3cded08f0f07d569 (diff)
sbcparse: init some variables to avoid bogus compiler warnings
-rw-r--r--gst/audioparsers/gstsbcparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/audioparsers/gstsbcparse.c b/gst/audioparsers/gstsbcparse.c
index 74c494a57..c954b5cca 100644
--- a/gst/audioparsers/gstsbcparse.c
+++ b/gst/audioparsers/gstsbcparse.c
@@ -180,10 +180,10 @@ gst_sbc_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
gint * skipsize)
{
GstSbcParse *sbcparse = GST_SBC_PARSE (parse);
- GstSbcAllocationMethod alloc_method;
+ GstSbcAllocationMethod alloc_method = GST_SBC_ALLOCATION_METHOD_INVALID;
GstSbcChannelMode ch_mode = GST_SBC_CHANNEL_MODE_INVALID;
GstMapInfo map;
- guint rate, n_blocks, n_subbands, bitpool;
+ guint rate = 0, n_blocks = 0, n_subbands = 0, bitpool = 0;
gsize frame_len;
gst_buffer_map (frame->buffer, &map, GST_MAP_READ);