OSDN Git Service

Fix recursive avfilter_poll_frame(). It was doing
authorVitor Sessak <vitor1001@gmail.com>
Sun, 18 Oct 2009 22:33:37 +0000 (22:33 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sun, 18 Oct 2009 22:33:37 +0000 (22:33 +0000)
commit9dd08b4e1ebc294848e69dd3e1d4eed19ffe5a90
tree4bfb07924671f7140b1ac22e690e0b7e3271750d
parentb07781b6e4f6267f20aec4e7f1d390ddb223af46
Fix recursive avfilter_poll_frame(). It was doing
min = FFMIN(min, avfilter_poll_frame(link->src->inputs[i]))
which, since FFMIN is a macro, was calling itself
twice for every input, causing an exponential cost in time.

Originally committed as revision 20295 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/avfilter.c