From 95a2dec9afafa41b50e799e8aee4b679d8278dc6 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Sat, 27 Sep 2014 08:53:06 +0100 Subject: [PATCH] Fix BB bug in player_put_packet flush code. --- player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.c b/player.c index b3e3a676..bbd114f1 100644 --- a/player.c +++ b/player.c @@ -450,7 +450,7 @@ static abuf_t *buffer_get_frame(void) { if ((flush_rtp_timestamp!=0x7fffffff) && (!seq32_order(curframe->timestamp,flush_rtp_timestamp))) // if we have gone past the flush boundary time flush_rtp_timestamp=0x7fffffff; } - } while ((flush_rtp_timestamp!=0x7fffffff) && (flush_limit<=8820) && (curframe->ready!=0)); + } while ((flush_rtp_timestamp!=0x7fffffff) && (flush_limit<=8820) && (curframe->ready==0)); if (flush_limit==8820) { debug(1,"Flush hit the 8820 frame limit!");