[FFmpeg-cvslog] r23267 - trunk/libavformat/movenc.c

bcoudurier subversion
Sun May 23 23:04:39 CEST 2010


Author: bcoudurier
Date: Sun May 23 23:04:39 2010
New Revision: 23267

Log:
albm 3gp tag has optional track field not date

Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	Sun May 23 23:03:14 2010	(r23266)
+++ trunk/libavformat/movenc.c	Sun May 23 23:04:39 2010	(r23267)
@@ -1530,7 +1530,7 @@ static int mov_write_3gp_udta_tag(ByteIO
         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);



More information about the ffmpeg-cvslog mailing list