[FFmpeg-devel] [PATCH] lavfi: increment max number of registered filters from 128 to 256

Michael Niedermayer michaelni at gmx.at
Thu Jan 31 19:14:59 CET 2013


On Thu, Jan 31, 2013 at 04:54:05PM +0100, Nicolas George wrote:
> Le duodi 12 pluviôse, an CCXXI, Stefano Sabatini a écrit :
> > The total number of implemented filters is already over 128.
> 
> LGTM in principe.
> 
> Is there a reason for that to be a static array instead of a chained list
> like the codecs and (de)muxers?

a linked list of avfilter structs needs a "next" pointer in each
such next pointer makes them incompatible with being in (shareable)
read only memory


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130131/1f576b25/attachment.asc>


More information about the ffmpeg-devel mailing list