diff options
author | Nicolas George <george@nsup.org> | 2014-04-16 19:39:41 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-04-29 13:25:59 +0200 |
commit | c9212abf95be62a164e7945fd50f8071382dcae3 (patch) | |
tree | a8258479d308a5b5858be72908d6a106e5ea407b /libavformat | |
parent | 70beebe35764f4dbf7623683326675bf5d8ee2e6 (diff) | |
download | ffmpeg-streaming-c9212abf95be62a164e7945fd50f8071382dcae3.zip ffmpeg-streaming-c9212abf95be62a164e7945fd50f8071382dcae3.tar.gz |
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.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/matroska.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c index 77a88a8..e8e9996 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -113,6 +113,7 @@ const CodecMime ff_mkv_mime_tags[] = { {"application/x-truetype-font", AV_CODEC_ID_TTF}, {"application/x-font" , AV_CODEC_ID_TTF}, {"application/vnd.ms-opentype", AV_CODEC_ID_OTF}, + {"binary" , AV_CODEC_ID_BIN_DATA}, {"" , AV_CODEC_ID_NONE} }; |