aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 16:16:01 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-16 16:16:01 +0000
commitdbabc2773ad7a613317050c7ca953fcdfe89201c (patch)
treee1545e995e1e135c4efa740da5051929ae74ec15 /ffmpeg.c
parent4bf65e2a4d6ad9a6fda368712fe7022ee990c6fb (diff)
downloadffmpeg-dbabc2773ad7a613317050c7ca953fcdfe89201c.tar.gz
Reset metadata after opt_output_file(), fix the previous commit.
Spotted by elenril on irc. Originally committed as revision 25509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 63b4b5ff77..010bce7472 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3756,6 +3756,7 @@ static void opt_output_file(const char *filename)
while ((tag = av_metadata_get(metadata, "", tag, AV_METADATA_IGNORE_SUFFIX)))
av_metadata_set2(&oc->metadata, tag->key, tag->value, 0);
+ av_metadata_free(&metadata);
}
output_files[nb_output_files++] = oc;