From 55d2e32a409e62f19af0e0032a2b1f8f201465fb Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 5 Nov 2009 01:40:13 +0000 Subject: fix \0xa9wrt metadata, to composer, fix issue #1501 Originally committed as revision 20453 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat') diff --git a/libavformat/mov.c b/libavformat/mov.c index 79575185e5..26f516bd50 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -106,8 +106,8 @@ static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOVAtom atom) switch (atom.type) { case MKTAG(0xa9,'n','a','m'): key = "title"; break; case MKTAG(0xa9,'a','u','t'): - case MKTAG(0xa9,'A','R','T'): - case MKTAG(0xa9,'w','r','t'): key = "author"; break; + case MKTAG(0xa9,'A','R','T'): key = "author"; break; + case MKTAG(0xa9,'w','r','t'): key = "composer"; break; case MKTAG(0xa9,'c','p','y'): key = "copyright"; break; case MKTAG(0xa9,'c','m','t'): case MKTAG(0xa9,'i','n','f'): key = "comment"; break; -- cgit v1.2.3