summaryrefslogtreecommitdiff
path: root/libavformat/id3v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/id3v1.c')
-rw-r--r--libavformat/id3v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v1.c b/libavformat/id3v1.c
index 845697f13e..b1e3dc3a62 100644
--- a/libavformat/id3v1.c
+++ b/libavformat/id3v1.c
@@ -211,7 +211,7 @@ static int parse_tag(AVFormatContext *s, const uint8_t *buf)
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);