Mercurial > libavformat.hg
diff matroska.c @ 2973:910ac68ab3b5 libavformat
Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself
author | aurel |
---|---|
date | Sun, 27 Jan 2008 15:43:17 +0000 |
parents | 616fb87724b5 |
children | 70edc1aeaf68 |
line wrap: on
line diff
--- a/matroska.c Sat Jan 26 22:57:53 2008 +0000 +++ b/matroska.c Sun Jan 27 15:43:17 2008 +0000 @@ -71,3 +71,15 @@ {"" , CODEC_ID_NONE} /* TODO: AC3-9/10 (?), Real, Musepack, Quicktime */ }; + +const CodecMime ff_mkv_mime_tags[] = { + {"text/plain" , CODEC_ID_TEXT}, + {"image/gif" , CODEC_ID_GIF}, + {"image/jpeg" , CODEC_ID_MJPEG}, + {"image/png" , CODEC_ID_PNG}, + {"image/tiff" , CODEC_ID_TIFF}, + {"application/x-truetype-font", CODEC_ID_TTF}, + {"application/x-font" , CODEC_ID_TTF}, + + {"" , CODEC_ID_NONE} +};