Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- 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 ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".