diff matroskadec.c @ 6113:6f9d084d5888 libavformat

Fix the MATROSKA_ID_TAGDEFAULT to match the specification (instead of libmatroska etc. typo) but continue to support the "old" value.
author reimar
date Tue, 08 Jun 2010 19:28:22 +0000
parents 5d4acf33261d
children 10c9d304794f
line wrap: on
line diff
--- a/matroskadec.c	Tue Jun 08 12:40:34 2010 +0000
+++ b/matroskadec.c	Tue Jun 08 19:28:22 2010 +0000
@@ -426,6 +426,7 @@
     { MATROSKA_ID_TAGSTRING,          EBML_UTF8, 0, offsetof(MatroskaTag,string) },
     { MATROSKA_ID_TAGLANG,            EBML_STR,  0, offsetof(MatroskaTag,lang), {.s="und"} },
     { MATROSKA_ID_TAGDEFAULT,         EBML_UINT, 0, offsetof(MatroskaTag,def) },
+    { MATROSKA_ID_TAGDEFAULT_BUG,     EBML_UINT, 0, offsetof(MatroskaTag,def) },
     { MATROSKA_ID_SIMPLETAG,          EBML_NEST, sizeof(MatroskaTag), offsetof(MatroskaTag,sub), {.n=matroska_simpletag} },
     { 0 }
 };