Commit 0777a600 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

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
parent 0c9b039c
...@@ -181,7 +181,7 @@ gst_sbc_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame, ...@@ -181,7 +181,7 @@ gst_sbc_parse_handle_frame (GstBaseParse * parse, GstBaseParseFrame * frame,
{ {
GstSbcParse *sbcparse = GST_SBC_PARSE (parse); GstSbcParse *sbcparse = GST_SBC_PARSE (parse);
GstSbcAllocationMethod alloc_method; GstSbcAllocationMethod alloc_method;
GstSbcChannelMode ch_mode; GstSbcChannelMode ch_mode = GST_SBC_CHANNEL_MODE_INVALID;
GstMapInfo map; GstMapInfo map;
guint rate, n_blocks, n_subbands, bitpool; guint rate, n_blocks, n_subbands, bitpool;
gsize frame_len; gsize frame_len;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment