AC3 output: fix garbage-in-AVI handling

This got broken during its re-write in commit 97cc2121.