diff mbox series

[FFmpeg-devel,10/14] avradio/sdrdemux: no need to set wanted_freq from sdrfile_initial_setup()

Message ID 20230718214542.685375-10-michael@niedermayer.cc
State New
Headers show
Series [FFmpeg-devel,01/14] avradio/sdrdemux: Add Mittelwelle / Mediumwave / Mediumfrequency band | expand

Checks

Context Check Description
andriy/configure_x86 warning Failed to apply patch
yinshiyou/configure_loongarch64 warning Failed to apply patch

Commit Message

Michael Niedermayer July 18, 2023, 9:45 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavradio/sdrdemux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index b5e9b9ad04..d5ea2d85b4 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -1714,7 +1714,7 @@  static int sdrfile_initial_setup(AVFormatContext *s)
     avio_skip(s->pb, 3);        //BE
     sdr->sdr_sample_rate = avio_rb32(s->pb);
                            avio_rb32(s->pb); //block_size
-    sdr->wanted_freq     = av_int2double(avio_rb64(s->pb));
+    av_int2double(avio_rb64(s->pb));
     sdr->pts             = avio_rb64(s->pb);
     if (version > AV_RB24("000")) {
         sdr->bandwidth       = avio_rb32(s->pb);