[FFmpeg-cvslog] lavf/matroska: add "binary" pseudo-MIME type.

Nicolas George git at videolan.org
Tue Apr 29 19:43:50 CEST 2014


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Wed Apr 16 19:39:41 2014 +0200| [c9212abf95be62a164e7945fd50f8071382dcae3] | committer: Nicolas George

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9212abf95be62a164e7945fd50f8071382dcae3
---

 libavformat/matroska.c |    1 +
 1 file changed, 1 insertion(+)

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}
 };



More information about the ffmpeg-cvslog mailing list