aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-11-03 13:06:49 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-20 21:00:19 +0200
commit3589b3f2e217e78d16a92b372d95ce4a3f7df896 (patch)
tree257f43d6989436416a77386b0df69fabc004aeb7 /README.md
parent4c7bcaa385e5e5fda0084de2fb823ac25c0deba0 (diff)
downloadffmpeg-3589b3f2e217e78d16a92b372d95ce4a3f7df896.tar.gz
avformat/matroskaenc: Improve mimetype search
Use the mime_types of the corresponding AVCodecDescriptor instead of tables specific to Matroska. The former are generally more encompassing: They contain every item of the current lists except "text/plain" for AV_CODEC_ID_TEXT and "binary" for AV_CODEC_ID_BIN_DATA. The former has been preserved by special-casing it while the latter is a hack added in c9212abf so that the demuxer (which uses the same tables) sets the appropriate CodecID for broken files ("binary" is not a correct mime type at all); using it for the muxer was a mistake. The correct mime type for AV_CODEC_ID_BIN_DATA is "application/octet-stream" and this is what one gets from the AVCodecDescriptor. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions