Fixed crash when audio codec is not found