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

Michael Niedermayer michaelni
Wed Jan 27 17:49:36 CET 2010

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.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- 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/8322cc25/attachment.pgp>

More information about the ffmpeg-devel mailing list