TDRL is what we used as a replacement of TYER, and, according to http://id3.org/id3v2.4.0-changes : TYER - Year This frame is replaced by the TDRC frame, 'Recording time' [F:4.2.5]. So change TDRL usages to TDRC. Fixes ticket #3694
Unified · Split
| @@ -60,8 +60,8 @@ const AVMetadataConv ff_id3v2_34_metadata_conv[] = { · 59 unmodified lines | ||
| 60 | 60 | |
| 61 | 61 | const AVMetadataConv ff_id3v2_4_metadata_conv[] = { |
| 62 | 62 | { "TCMP", "compilation" }, |
| 63 | − { "TDRL", "date" }, | |
| 64 | 63 | { "TDRC", "date" }, |
| 64 | + { "TDRL", "date" }, | |
| 65 | 65 | { "TDEN", "creation_time" }, |
| 66 | 66 | { "TSOA", "album-sort" }, |
| 67 | 67 | { "TSOP", "artist-sort" }, |
| @@ -58,7 +58,7 @@ static int id3v1_create_tag(AVFormatContext *s, uint8_t *buf) · 57 unmodified lines | ||
| 58 | 58 | count += id3v1_set_string(s, "TIT2", buf + 3, 30 + 1); //title |
| 59 | 59 | count += id3v1_set_string(s, "TPE1", buf + 33, 30 + 1); //author|artist |
| 60 | 60 | count += id3v1_set_string(s, "TALB", buf + 63, 30 + 1); //album |
| 61 | − count += id3v1_set_string(s, "TDRL", buf + 93, 4 + 1); //date | |
| 61 | + count += id3v1_set_string(s, "TDRC", buf + 93, 4 + 1); //date | |
| 62 | 62 | count += id3v1_set_string(s, "comment", buf + 97, 30 + 1); |
| 63 | 63 | if ((tag = av_dict_get(s->metadata, "TRCK", NULL, 0))) { //track |
| 64 | 64 | buf[125] = 0; |