audio: st_rate_flow exist a infinite loop
commitfacd0e97737a41b0bed072a95dcc3eb863c7667f
authorPeng Hao <peng.hao2@zte.com.cn>
Sat, 15 Jul 2017 14:14:21 +0000 (15 22:14 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jul 2017 09:08:59 +0000 (17 11:08 +0200)
tree6fa4c8a6f0888395e1a7e58fb615e7dfc0b96d6c
parent6e2c46334385c7e295ac883c801c81b4925fb54f
audio: st_rate_flow exist a infinite loop

If a voice recording equipment is opened for a long time(several days)
in windows guest, rate->ipos will overflow and rate->opos will never
have a chance to change. It will result to a infinite loop.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Message-id: 1500128061-20849-1-git-send-email-peng.hao2@zte.com.cn
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/rate_template.h