Message ID | 20230718214542.685375-12-michael@niedermayer.cc |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,01/14] avradio/sdrdemux: Add Mittelwelle / Mediumwave / Mediumfrequency band | expand |
Context | Check | Description |
---|---|---|
andriy/configure_x86 | warning | Failed to apply patch |
yinshiyou/configure_loongarch64 | warning | Failed to apply patch |
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index a9ddf93733..ded9b8e26a 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -1571,7 +1571,7 @@ int ff_sdr_common_init(AVFormatContext *s) } sdr->min_center_freq = sdr->min_freq + sdr->sdr_sample_rate / 2; - sdr->max_center_freq = sdr->max_freq + sdr->sdr_sample_rate / 2; + sdr->max_center_freq = sdr->max_freq - sdr->sdr_sample_rate / 2; if(!sdr->block_size) {
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavradio/sdrdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)