[FFmpeg-devel] [PATCH] mention that metadata tags are UTF-8
Mon Feb 22 00:27:13 CET 2010
On Sun, Feb 21, 2010 at 10:25:59PM +0100, Anton Khirnov wrote:
> On Sun, Feb 21, 2010 at 09:22:39AM +0100, Reimar D?ffinger wrote:
> > Which part are you trying to document here, that they are strings (any reason that
> > would be non-obvious?), or that they are UTF-8?
> > Either way it should avoid two things:
> > 1) giving the impression that it's a special case it is UTF-8 (all strings in FFmpeg
> > are UTF-8)
> > 2) giving the impression that the strings are validated as being UTF-8 - while they
> > are _supposed_ to be UTF-8 they might be any 0-terminated binary data if coming from
> > a demuxer. If the application sets it, we may fail in the future if it's not valid UTF-8
> > though.
> an attempt at better wording attached.
> Anton Khirnov
> avformat.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> d1587d8f70e69d157a09a2c4fa2e9e3d3b8bccf2 0001-metadata-API-mention-that-keys-values-are-UTF-8.patch
> From 5b3be10ba488345c8e46c4f28b50afa5a6640e81 Mon Sep 17 00:00:00 2001
> From: Anton Khirnov <wyskas at gmail.com>
> Date: Sun, 21 Feb 2010 08:30:36 +0100
> Subject: [PATCH] metadata API: mention that keys/values are UTF-8
ok if reimar has no further comments
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The misfortune of the wise is better than the prosperity of the fool.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel