diff id3v1.c @ 5618:27fd77f20a89 libavformat

Add a list of generic tags and change demuxers to follow it. Patch by Anton Khirnov, wyskas at gmail dot com
author pross
date Mon, 01 Feb 2010 11:39:10 +0000
parents 8d7341df7f4c
children f74198942337
line wrap: on
line diff
--- a/id3v1.c	Sun Jan 31 17:43:18 2010 +0000
+++ b/id3v1.c	Mon Feb 01 11:39:10 2010 +0000
@@ -211,7 +211,7 @@
     get_string(s, "title",   buf +  3, 30);
     get_string(s, "artist",  buf + 33, 30);
     get_string(s, "album",   buf + 63, 30);
-    get_string(s, "year",    buf + 93,  4);
+    get_string(s, "date",    buf + 93,  4);
     get_string(s, "comment", buf + 97, 30);
     if (buf[125] == 0 && buf[126] != 0)
         av_metadata_set2(&s->metadata, "track", av_d2str(buf[126]), AV_METADATA_DONT_STRDUP_VAL);