diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-05-23 21:04:39 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-05-23 21:04:39 +0000 |
commit | 221ed48602fe4641e292ed13b1def0a7d30b94b2 (patch) | |
tree | 1eb1e5fd88e13aaa922ca98027a77febe6187cc0 /libavformat/movenc.c | |
parent | ea4c4d7fe395c6202a83ad36547e58abdfe8263e (diff) | |
download | ffmpeg-221ed48602fe4641e292ed13b1def0a7d30b94b2.tar.gz |
albm 3gp tag has optional track field not date
Originally committed as revision 23267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f4b8e06cea..b7ad6be375 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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); |