[FFmpeg-devel] MAX_STREAMS

Erik Van Grunderbeeck erik
Sun Jun 21 07:15:36 CEST 2009


>>> Could MAX_STREAMS be changed to a higher number, say 64?
>> 
>>> I'd prefer if this limit could be removed.
>> 
>> I actually looked at this, when I was trying to add the stream
replacement
>> stuff I need. But streams are referred by index in so many places that it
is
>> going to be a serious change to remove the array stuff.

>grep for MAX_STREAMS and change the logic by malloc should be sufficient.

Yes, allocate an array dynamically should also work. My bad, should have
thought of that.

Erik





More information about the ffmpeg-devel mailing list