Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavradio/sdrdemux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index ad3e253ced..6cb9d3b70a 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -327,12 +327,11 @@ static void decay_stations(SDRContext *sdr) if (station->frequency - station->bandwidth/2 < sdr->block_center_freq - sdr->bandwidth/2 || station->frequency + station->bandwidth/2 > sdr->block_center_freq + sdr->bandwidth/2) continue; - if (station->stream) - continue; if (station->in_station_list) { if (station->timeout++ > STATION_TIMEOUT) { - station->in_station_list = 0; + if (!station->stream) + station->in_station_list = 0; } } else { if (station->timeout++ > CANDIDATE_STATION_TIMEOUT) { -- 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".