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:
		
							parent
							
								
									70beebe357
								
							
						
					
					
						commit
						c9212abf95
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user