audioparsers: sbc: fix bogus compiler warning

gst-plugins-good/gst/audioparsers/gstsbcparse.c: In function 'gst_sbc_parse_handle_frame':
gst-plugins-good/gst/audioparsers/gstsbcparse.c:210:32: error: 'ch_mode' may be used uninitialized i
This commit is contained in:
Mark Nauwelaerts 2013-01-22 19:26:09 +01:00
parent 0c9b039c22
commit 0777a600e3

View file

@ -181,7 +181,7 @@ gst_sbc_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
{
GstSbcParse *sbcparse = GST_SBC_PARSE (parse);
GstSbcAllocationMethod alloc_method;
GstSbcChannelMode ch_mode;
GstSbcChannelMode ch_mode = GST_SBC_CHANNEL_MODE_INVALID;
GstMapInfo map;
guint rate, n_blocks, n_subbands, bitpool;
gsize frame_len;