mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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:
parent
0c9b039c22
commit
0777a600e3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue