summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2012-05-31 09:31:04 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-04 00:28:28 +0200
commit235bf1dab5315af84086eddbc92e8d2eb49e51f0 (patch)
tree1d62cd156107895fe6923c7983ff7766c24d5d38 /libavformat
parentfa570a5548a39a5d55f68a54766f0d0383776512 (diff)
riff: add ISMP/timecode tag
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/riff.c1
-rw-r--r--libavformat/riffenc.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 87176c255f..7dc8a5f0a3 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -394,6 +394,7 @@ const AVMetadataConv ff_riff_info_conv[] = {
{ "IPRT", "track" },
{ "ITRK", "track" },
{ "ISFT", "encoder" },
+ { "ISMP", "timecode" },
{ "ITCH", "encoded_by" },
{ 0 },
};
diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c
index 681a930212..8479d9da38 100644
--- a/libavformat/riffenc.c
+++ b/libavformat/riffenc.c
@@ -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 }
};