Fix alaw and mulaw muxing in caf.

Fixes ticket #3644.
avfilter/edgedetect: reuse already defined ctx.