s/author/artist/ for ID3

from ffmbc

Originally committed as revision 20838 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Michael Niedermayer 15 years ago
parent 57f36fda56
commit 8a98be1a08
  1. 2
      libavformat/id3v1.c
  2. 2
      libavformat/id3v2.c

@ -209,7 +209,7 @@ static int parse_tag(AVFormatContext *s, const uint8_t *buf)
buf[2] == 'G')) buf[2] == 'G'))
return -1; return -1;
get_string(s, "title", buf + 3, 30); get_string(s, "title", buf + 3, 30);
get_string(s, "author", buf + 33, 30); get_string(s, "artist", buf + 33, 30);
get_string(s, "album", buf + 63, 30); get_string(s, "album", buf + 63, 30);
get_string(s, "year", buf + 93, 4); get_string(s, "year", buf + 93, 4);
get_string(s, "comment", buf + 97, 30); get_string(s, "comment", buf + 97, 30);

@ -241,7 +241,7 @@ const AVMetadataConv ff_id3v2_metadata_conv[] = {
{ "TENC", "encoder"}, { "TENC", "encoder"},
{ "TIT2", "title"}, { "TIT2", "title"},
{ "TLAN", "language"}, { "TLAN", "language"},
{ "TPE1", "author"}, { "TPE1", "artist"},
{ "TPOS", "disc"}, { "TPOS", "disc"},
{ "TPUB", "publisher"}, { "TPUB", "publisher"},
{ "TRCK", "track"}, { "TRCK", "track"},

Loading…
Cancel
Save