[SCM] libav/experimental: Reset metadata after opt_output_file(), fix the previous commit.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:17:51 UTC 2013


The following commit has been merged in the experimental branch:
commit dbabc2773ad7a613317050c7ca953fcdfe89201c
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Sat Oct 16 16:16:01 2010 +0000

    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

diff --git a/ffmpeg.c b/ffmpeg.c
index 63b4b5f..010bce7 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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list