swr: fix test program.
authorClément Bœsch <ubitux@gmail.com>
Thu, 24 Nov 2011 14:37:30 +0000 (15:37 +0100)
committerClément Bœsch <ubitux@gmail.com>
Thu, 24 Nov 2011 15:55:44 +0000 (16:55 +0100)
commitafb0470a2559c54ff41c9947f848ac7d58ac1003
tree4c392326f0ee15ed1cb60787bd498ca978834743
parent2bf09826c170b0f474f1cd92a138acd8109eef8b
swr: fix test program.

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.
libswresample/swresample.c