Commit c4882a1e authored by alexc's avatar alexc

ffmpeg.c: Don't use NULL for integer metadata flags.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0c19f5e7
...@@ -1850,7 +1850,7 @@ static int av_encode(AVFormatContext **output_files, ...@@ -1850,7 +1850,7 @@ static int av_encode(AVFormatContext **output_files,
while ((t = av_metadata_get(ist->st->metadata, "", t, AV_METADATA_IGNORE_SUFFIX))) { while ((t = av_metadata_get(ist->st->metadata, "", t, AV_METADATA_IGNORE_SUFFIX))) {
if (lang && !strcmp(t->key, "language")) if (lang && !strcmp(t->key, "language"))
continue; 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; ost->st->disposition = ist->st->disposition;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment