From 660822f0aebf37a8b3a9a89e0fb27096f17a5a42 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Thu, 4 Mar 2010 11:27:39 +0000 Subject: [PATCH] ffmpeg.c: Don't use NULL for integer metadata flags. Originally committed as revision 22205 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 4220c278cc..25f4558f89 100644 --- 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; -- GitLab