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 1c77583fd4..5300311c3a 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -1818,7 +1818,7 @@ process_next_block:
             int nb_stations = ff_sdr_find_stations(sdr, 
sdr->block_center_freq, sdr->sdr_sample_rate*0.5, station_list, 
FF_ARRAY_ELEMS(station_list));
             for(int i = 0; i<nb_stations; i++) {
                 Station *station = station_list[i];
-                if (!station->stream) {
+                if (!station->stream && station->in_station_list) {
                     /* audio stream */
                     AVStream *st = avformat_new_stream(s, NULL);
                     SDRStream *sst;
-- 
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".

Reply via email to