encode: fix occasional init crash due to initialization order issues
Looks like the recent change to this actually made it crash whenever audio happened to be initialized first, due to not setting the mux_stream field before the on_ready callback. Mess a way around this. Also remove a stray unused variable from ao_lavc.c.
W
wm4 committed
6169fba79679aff0c4b07fbae03ed30e9f6f7eb6
Parent: 37f441d