diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 16:16:01 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-16 16:16:01 +0000 |
commit | dbabc2773ad7a613317050c7ca953fcdfe89201c (patch) | |
tree | e1545e995e1e135c4efa740da5051929ae74ec15 /ffmpeg.c | |
parent | 4bf65e2a4d6ad9a6fda368712fe7022ee990c6fb (diff) | |
download | ffmpeg-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |