Simplify the registration and iteration of all the registered filters, consistent with what is done with formats / codecs. Originally committed as revision 20385 to svn://svn.ffmpeg.org/ffmpeg/trunk