avformat/astdec: sanity check channels & sample rate