[FFmpeg-cvslog] [ffmpeg-radio] 12/14: avradio/sdrdemux: + vs. - bug

Michael Niedermayer ffmpeg-git at ffmpeg.org
Sat Jul 22 16:55:58 EEST 2023


This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository libavradio.

commit a3f7ae9830b2119f247d197f612349ecea53a647
Author:     Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Tue Jul 18 22:46:11 2023 +0200
Commit:     Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Sat Jul 22 15:44:54 2023 +0200

    avradio/sdrdemux: + vs. - bug
    
    Signed-off-by: Michael Niedermayer <michael at 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) {



More information about the ffmpeg-cvslog mailing list