[FFmpeg-devel] [PATCH] Don't fail on Matroska with too many streams

Jai Menon jmenon86
Wed Jan 27 18:15:09 CET 2010


On Wed, Jan 27, 2010 at 10:19 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Jan 27, 2010 at 01:48:41PM -0200, Lucas Clemente Vella wrote:
>> If the number of tracks on a Matroska file is greater than
>> MAX_STREAMS, ignore the last tracks instead of closing with "out of
>> memory" message. Hopefully the discarded tracks will be subtitles for
>> strange languages.
>>
>> --
>> Lucas Clemente Vella
>> lvella at gmail.com.br
>
>> ?matroskadec.c | ? 12 +++++++++++-
>> ?1 file changed, 11 insertions(+), 1 deletion(-)
>> 3ddaef3cc4355a83e13ac9c5a16d1d8e671cce71 ?mkv_many_streams.patch
>
> iam not matroska maintainer but i take the liberty to reject this
> please work on dynamic allocation of things so that the MAX_STREAMS
> limit disappears or advocate bumping the value up with the next
> major ver bump.

just curious : should the removal of MAX_FILES also be considered? i'm
not suggesting i have a use case for this though, just asking...

-- 
Jai Menon



More information about the ffmpeg-devel mailing list