OSDN Git Service

matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
authorDavid Conrad <lessen42@gmail.com>
Sun, 23 May 2010 22:20:04 +0000 (22:20 +0000)
committerDavid Conrad <lessen42@gmail.com>
Sun, 23 May 2010 22:20:04 +0000 (22:20 +0000)
Originally committed as revision 23275 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index 45bea61..3e33d08 100644 (file)
@@ -1160,7 +1160,6 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
     if (i >= FF_ARRAY_ELEMS(matroska_doctypes)) {
         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);
 
     /* The next thing is a segment. */