afb0470a25
The number of used channels need to be reset to zero when swr_alloc_set_opts() is called successive times. This is a regression introduced in c8136ebd.