aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-17 19:11:54 +0200
committerAnton Khirnov <anton@khirnov.net>2011-08-18 08:49:32 +0200
commite922bbfa769cc0f84f09d4027559a23b83e8478c (patch)
treec9cde874c21e8da3285154fc0a41f70aca254800
parentc5ad2c2cc6262b64dc3866d0de13fbac97e6da40 (diff)
downloadffmpeg-e922bbfa769cc0f84f09d4027559a23b83e8478c.tar.gz
avconv: reset streamid_map between output files.
-rw-r--r--avconv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index 12ee3dc9f3..4a5830f326 100644
--- a/avconv.c
+++ b/avconv.c
@@ -457,7 +457,6 @@ static int exit_program(int ret)
fclose(vstats_file);
av_free(vstats_filename);
- av_free(streamid_map);
av_free(meta_data_maps);
av_freep(&input_streams);
@@ -3695,6 +3694,8 @@ static void opt_output_file(const char *filename)
metadata_chapters_autocopy = 1;
av_freep(&stream_maps);
nb_stream_maps = 0;
+ av_freep(&streamid_map);
+ nb_streamid_map = 0;
av_dict_free(&codec_names);