lavf/matroska: add "binary" pseudo-MIME type.

Avoid long scan and "Could not find codec parameters for stream"
error when an attachment has this type.
This commit is contained in:
Nicolas George 2014-04-16 19:39:41 +02:00
parent 70beebe357
commit c9212abf95

View File

@ -113,6 +113,7 @@ const CodecMime ff_mkv_mime_tags[] = {
{"application/x-truetype-font", AV_CODEC_ID_TTF}, {"application/x-truetype-font", AV_CODEC_ID_TTF},
{"application/x-font" , AV_CODEC_ID_TTF}, {"application/x-font" , AV_CODEC_ID_TTF},
{"application/vnd.ms-opentype", AV_CODEC_ID_OTF}, {"application/vnd.ms-opentype", AV_CODEC_ID_OTF},
{"binary" , AV_CODEC_ID_BIN_DATA},
{"" , AV_CODEC_ID_NONE} {"" , AV_CODEC_ID_NONE}
}; };