This avoids useless computations

Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavradio/sdrdemux.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index c0ca420c84..54d7622809 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -1519,9 +1519,9 @@ int ff_sdr_common_init(AVFormatContext *s)
     av_log(s, AV_LOG_INFO, "Block size %d\n", sdr->block_size);
 
     sdr->block_time = sdr->block_size / (double)sdr->sdr_sample_rate;
-    sdr->am_bandwidth    =   6 * 1000;
-    sdr->fm_bandwidth    = 180 * 1000;
-    sdr->fm_bandwidth_p2 =  18 * 1000;
+    sdr->am_bandwidth    =   6   * 1000;
+    sdr->fm_bandwidth    = 180   * 1000;
+    sdr->fm_bandwidth_p2 =  16.5 * 1000; // Officially Stereo Broadcast FM has 
15khz audio bandwidth
 
     sdr->am_block_size    = find_block_size(sdr, sdr->am_bandwidth);
     sdr->fm_block_size    = find_block_size(sdr, sdr->fm_bandwidth);
-- 
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".

Reply via email to