diff mp3.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 7a06194c23af
children 980dc98901d9
line wrap: on
line diff
--- a/mp3.c	Sun Jan 31 17:43:18 2010 +0000
+++ b/mp3.c	Mon Feb 01 11:39:10 2010 +0000
@@ -214,7 +214,7 @@
     count += id3v1_set_string(s, "title",   buf +  3, 30);
     count += id3v1_set_string(s, "author",  buf + 33, 30);
     count += id3v1_set_string(s, "album",   buf + 63, 30);
-    count += id3v1_set_string(s, "year",    buf + 93,  4);
+    count += id3v1_set_string(s, "date",    buf + 93,  4);
     count += id3v1_set_string(s, "comment", buf + 97, 30);
     if ((tag = av_metadata_get(s->metadata, "track", NULL, 0))) {
         buf[125] = 0;