mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 21:10:34 +00:00
albm 3gp tag has optional track field not date
Originally committed as revision 23267 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ea4c4d7fe3
commit
221ed48602
@ -1530,7 +1530,7 @@ static int mov_write_3gp_udta_tag(ByteIOContext *pb, AVFormatContext *s,
|
||||
put_be16(pb, language_code("eng")); /* language */
|
||||
put_buffer(pb, t->value, strlen(t->value)+1); /* UTF8 string value */
|
||||
if (!strcmp(tag, "albm") &&
|
||||
(t = av_metadata_get(s->metadata, "date", NULL, 0)))
|
||||
(t = av_metadata_get(s->metadata, "track", NULL, 0)))
|
||||
put_byte(pb, atoi(t->value));
|
||||
}
|
||||
return updateSize(pb, pos);
|
||||
|
Loading…
Reference in New Issue
Block a user