add OTF support for attachments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
41dba453f9
commit
e14725cecc
@ -455,6 +455,7 @@ enum AVCodecID {
|
||||
AV_CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
|
||||
AV_CODEC_ID_XBIN = MKBETAG('X','B','I','N'),
|
||||
AV_CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'),
|
||||
AV_CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'),
|
||||
|
||||
AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
|
||||
|
||||
|
@ -385,6 +385,7 @@
|
||||
CODEC_ID_BINTEXT = MKBETAG('B','T','X','T'),
|
||||
CODEC_ID_XBIN = MKBETAG('X','B','I','N'),
|
||||
CODEC_ID_IDF = MKBETAG( 0 ,'I','D','F'),
|
||||
CODEC_ID_OTF = MKBETAG( 0 ,'O','T','F'),
|
||||
|
||||
CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like CODEC_ID_NONE) but lavf should attempt to identify it
|
||||
|
||||
|
@ -93,6 +93,7 @@ const CodecMime ff_mkv_mime_tags[] = {
|
||||
{"image/tiff" , AV_CODEC_ID_TIFF},
|
||||
{"application/x-truetype-font", AV_CODEC_ID_TTF},
|
||||
{"application/x-font" , AV_CODEC_ID_TTF},
|
||||
{"application/vnd.ms-opentype", AV_CODEC_ID_OTF},
|
||||
|
||||
{"" , AV_CODEC_ID_NONE}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user