Fix crash when encoding with sox and without filters