aout: don't accept unknown rates
commit154687459fb8ae0362970fd3b9e072fbfd2da484
authorThomas Guillem <thomas@gllm.fr>
Thu, 25 Jan 2018 13:56:14 +0000 (25 14:56 +0100)
committerThomas Guillem <thomas@gllm.fr>
Thu, 25 Jan 2018 13:59:13 +0000 (25 14:59 +0100)
tree9a475a797715c3efb17e3aa60d77469d2c1b5d93
parent86f5f48cfbc21b4c585a55dde8c60e267ab37a64
aout: don't accept unknown rates

If an aout module can't handle it (like pulseaudio), the input decoder will
fallback to the next decoder (avcodec) and passthough will never be tried
again.

Regression from 2b07680ad493ce2276404f9ee07916a72750f1c9.
src/audio_output/dec.c