Signed-off-by: Michael Niedermayer <[email protected]>
---
libavradio/sdrdemux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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) {
--
2.31.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".