summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2010-02-01 11:39:10 +0000
committerPeter Ross <pross@xvid.org>2010-02-01 11:39:10 +0000
commitca76a11948eaffd2667efa247cff0eb13889c043 (patch)
tree3e666ab791907a103b6a5c9f85d7bb6195b0fe67 /libavformat/mp3.c
parentb8bb398a40b1636de7a70131a45ddbc2944a242f (diff)
Add a list of generic tags and change demuxers to follow it.
Patch by Anton Khirnov, wyskas at gmail dot com Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r--libavformat/mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index 7d3458c751..d8742b5ef2 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -214,7 +214,7 @@ static int id3v1_create_tag(AVFormatContext *s, uint8_t *buf)
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;