From 235bf1dab5315af84086eddbc92e8d2eb49e51f0 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Thu, 31 May 2012 09:31:04 +0200 Subject: riff: add ISMP/timecode tag --- libavformat/riff.c | 1 + libavformat/riffenc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat') 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 } }; -- cgit v1.2.3