[FFmpeg-cvslog] r25509 - trunk/ffmpeg.c

stefano subversion
Sat Oct 16 18:16:02 CEST 2010


Author: stefano
Date: Sat Oct 16 18:16:01 2010
New Revision: 25509

Log:
Reset metadata after opt_output_file(), fix the previous commit.

Spotted by elenril on irc.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Sat Oct 16 17:25:02 2010	(r25508)
+++ trunk/ffmpeg.c	Sat Oct 16 18:16:01 2010	(r25509)
@@ -3756,6 +3756,7 @@ static void opt_output_file(const char *
 
         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;



More information about the ffmpeg-cvslog mailing list