add sample_fmts infrastructure: AVCodec->sample_fmts and SAMPLE_FMT_NB enum.