lavfi/atempo: Avoid false triggering an assertion failure
authorPavel Koshevoy <pkoshevoy@gmail.com>
Mon, 4 Sep 2017 02:44:31 +0000 (20:44 -0600)
committerMarton Balint <cus@passwd.hu>
Wed, 6 Sep 2017 21:57:59 +0000 (23:57 +0200)
commit25b5096400b2fd578e059eb4a5d2aba8f3cfddfb
tree66434de68aaeb5caca41558aa24b3a3cbaf9fdab
parentedb4ba5bd4e7856fd6aaa37829150957dc5f4da3
lavfi/atempo: Avoid false triggering an assertion failure

Steps to reproduce:
1. revert 4240e5b047379b29c33dd3f4438bc4e610527b83
2. ./ffmpeg -f lavfi -i sine=d=1 -af aselect=e=0,atempo=0.5 -y atempo.wav

Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/af_atempo.c