Optimize h261_probe function, since it is far slower than all others.