# HG changeset patch # User rbultje # Date 1267034504 0 # Node ID 20877abd6b08c6aa9f1be87f503bf903dd0ba040 # Parent 1481fbffd30beae5e67729df5fe9dfce16f37d63 Mention that metadata tags are (unvalidated) UTF-8. Patch by Anton Khirnov . diff -r 1481fbffd30b -r 20877abd6b08 avformat.h --- a/avformat.h Wed Feb 24 11:43:33 2010 +0000 +++ b/avformat.h Wed Feb 24 18:01:44 2010 +0000 @@ -63,7 +63,9 @@ /* * 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