mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 18:40:03 +01:00
matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
Originally committed as revision 23275 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1160,7 +1160,6 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
if (i >= FF_ARRAY_ELEMS(matroska_doctypes)) {
|
if (i >= FF_ARRAY_ELEMS(matroska_doctypes)) {
|
||||||
av_log(s, AV_LOG_WARNING, "Unknown EBML doctype '%s'\n", ebml.doctype);
|
av_log(s, AV_LOG_WARNING, "Unknown EBML doctype '%s'\n", ebml.doctype);
|
||||||
}
|
}
|
||||||
av_metadata_set2(&s->metadata, "doctype", ebml.doctype, 0);
|
|
||||||
ebml_free(ebml_syntax, &ebml);
|
ebml_free(ebml_syntax, &ebml);
|
||||||
|
|
||||||
/* The next thing is a segment. */
|
/* The next thing is a segment. */
|
||||||
|
|||||||
Reference in New Issue
Block a user