aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-02-24 18:01:44 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-02-24 18:01:44 +0000
commit6164842300184ac19496192d2dd2fa3e5c2eafa6 (patch)
tree0b7835282ba3744d67c85d5a46c8af1a9ea55515 /libavformat
parent6d0155c79c5a30ecea5be1edac47c1f412a7a124 (diff)
downloadffmpeg-6164842300184ac19496192d2dd2fa3e5c2eafa6.tar.gz
Mention that metadata tags are (unvalidated) UTF-8.
Patch by Anton Khirnov <wyskas gmail com>. Originally committed as revision 22028 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avformat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 65e4a84c9d..e7426aa16d 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -63,7 +63,9 @@ struct AVFormatContext;
/*
* Public Metadata API.
* The metadata API allows libavformat to export metadata tags to a client
- * application using a sequence of key/value pairs.
+ * application using a sequence of key/value pairs. Like all strings in FFmpeg,
+ * metadata must be stored as UTF-8 encoded Unicode. Note that metadata
+ * exported by demuxers isn't checked to be valid UTF-8 in most cases.
* Important concepts to keep in mind:
* 1. Keys are unique; there can never be 2 tags with the same key. This is
* also meant semantically, i.e., a demuxer should not knowingly produce