[FFmpeg-devel] [PATCH] attachments support in matroska demuxer

Uoti Urpala uoti.urpala
Sun Jan 20 17:31:18 CET 2008

On Sun, 2008-01-20 at 17:22 +0100, Michael Niedermayer wrote:
> the original idea was that codec identifers would either fit in an int
> or a demuxer would have a table of identifiers, it needs one anyway to
> set codec_id, and in that case codec_tag could be a index into that
> table
> this should work with mime types too ...

This would require limiting the allowed MIME types somehow. The file
could have arbitrary "application/x-myprogram" MIME types. The Debian
file /etc/mime.types which lists known types is 753 lines long (not
every line is a separate type but most are). Would you support at least
all those in the table? Or which subset?

More information about the ffmpeg-devel mailing list