Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavradio/rds.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libavradio/rds.c b/libavradio/rds.c index 99e5360b72..55b24a0d9e 100644 --- a/libavradio/rds.c +++ b/libavradio/rds.c @@ -123,6 +123,9 @@ static int decode_rds_group(SDRContext *sdr, Station *station, uint16_t group[4] return 0; // skip first packet with new PI, likely its just damaged } + //sucessfully decoding a RDS group implies that the station has been detected correctly + station->timeout = 0; + switch(a) { case 0: AV_WB16(station->name + 2*(group[1]&3), group[3]); -- 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".