mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-20 18:40:31 +00:00
lc3-google: fix compiler warning
This commit is contained in:
parent
75aabb0d58
commit
649f70097c
6
3rd-party/lc3-google/include/lc3_private.h
vendored
6
3rd-party/lc3-google/include/lc3_private.h
vendored
@ -103,7 +103,8 @@ struct lc3_encoder {
|
||||
lc3_ltpf_analysis_t ltpf;
|
||||
lc3_spec_analysis_t spec;
|
||||
|
||||
float *xs, *xf, s[0];
|
||||
// BK: s[0] -> s[1] to avoid compiler warning for zero sized warning
|
||||
float *xs, *xf, s[1];
|
||||
};
|
||||
|
||||
#define LC3_ENCODER_BUFFER_COUNT(dt_us, sr_hz) \
|
||||
@ -139,7 +140,8 @@ struct lc3_decoder {
|
||||
lc3_ltpf_synthesis_t ltpf;
|
||||
lc3_plc_state_t plc;
|
||||
|
||||
float *xs, *xd, *xg, s[0];
|
||||
// BK: s[0] -> s[1] to avoid compiler warning for zero sized warning
|
||||
float *xs, *xd, *xg, s[1];
|
||||
};
|
||||
|
||||
#define LC3_DECODER_BUFFER_COUNT(dt_us, sr_hz) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user