Browse Source

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.
tags/n2.3
Nicolas George 11 years ago
parent
commit
c9212abf95
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/matroska.c

+ 1
- 0
libavformat/matroska.c 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}
}; };


Loading…
Cancel
Save