Message ID | 20230708212530.109692-17-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,01/18] avradio/sdrdemux: Fix uninitialized access | expand |
Context | Check | Description |
---|---|---|
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
andriy/configure_x86 | warning | Failed to apply patch |
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index 1ded01e957..d73cbc0a06 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -840,7 +840,7 @@ static int probe_fm(SDRContext *sdr) { int i; int bandwidth_f = 180*1000; - int bandwidth_p2 = 38*1000; //phase 2 bandwidth + int bandwidth_p2 = 18*1000; //phase 2 bandwidth int half_bw_i = bandwidth_f * (int64_t)sdr->block_size / sdr->sdr_sample_rate; float last_score[3] = {FLT_MAX, FLT_MAX, FLT_MAX}; int border_i = (sdr->sdr_sample_rate - FFMIN(sdr->bandwidth, sdr->sdr_sample_rate*7/8)) * sdr->block_size / sdr->sdr_sample_rate;
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavradio/sdrdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)