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

Michael Niedermayer michaelni
Wed Jan 27 22:55:10 CET 2010


On Wed, Jan 27, 2010 at 12:08:31PM -0800, Baptiste Coudurier wrote:
> On 01/27/2010 08:49 AM, Michael Niedermayer 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.
>
> Btw, avienc.c and av_find_stream_info seem the biggest users of 
> MAX_STREAMS.

ill try to fix avienc

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100127/b75ec3b8/attachment.pgp>



More information about the ffmpeg-devel mailing list