ffmpeg: check ost->finished in reap_filters()