ffmpeg.c: Don't use NULL for integer metadata flags.
authorAlex Converse <alex.converse@gmail.com>
Thu, 4 Mar 2010 11:27:39 +0000 (11:27 +0000)
committerAlex Converse <alex.converse@gmail.com>
Thu, 4 Mar 2010 11:27:39 +0000 (11:27 +0000)
Originally committed as revision 22205 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 4220c27..25f4558 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1850,7 +1850,7 @@ static int av_encode(AVFormatContext **output_files,
         while ((t = av_metadata_get(ist->st->metadata, "", t, AV_METADATA_IGNORE_SUFFIX))) {
             if (lang && !strcmp(t->key, "language"))
                 continue;
-            av_metadata_set2(&ost->st->metadata, t->key, t->value, NULL);
+            av_metadata_set2(&ost->st->metadata, t->key, t->value, 0);
         }
 
         ost->st->disposition = ist->st->disposition;