riff: add ISMP/timecode tag
authorClément Bœsch <clement.boesch@smartjog.com>
Thu, 31 May 2012 07:31:04 +0000 (09:31 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 3 Apr 2014 22:28:28 +0000 (00:28 +0200)
libavformat/riff.c
libavformat/riffenc.c

index 87176c2..7dc8a5f 100644 (file)
@@ -394,6 +394,7 @@ const AVMetadataConv ff_riff_info_conv[] = {
     { "IPRT", "track"      },
     { "ITRK", "track"      },
     { "ISFT", "encoder"    },
+    { "ISMP", "timecode"   },
     { "ITCH", "encoded_by" },
     { 0 },
 };
index 681a930..8479d9d 100644 (file)
@@ -257,7 +257,7 @@ void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str)
 static const char riff_tags[][5] = {
     "IARL", "IART", "ICMS", "ICMT", "ICOP", "ICRD", "ICRP", "IDIM", "IDPI",
     "IENG", "IGNR", "IKEY", "ILGT", "ILNG", "IMED", "INAM", "IPLT", "IPRD",
-    "IPRT", "ITRK", "ISBJ", "ISFT", "ISHP", "ISRC", "ISRF", "ITCH",
+    "IPRT", "ITRK", "ISBJ", "ISFT", "ISHP", "ISMP", "ISRC", "ISRF", "ITCH",
     { 0 }
 };