avconv: reset streamid_map between output files.

This commit is contained in:
Anton Khirnov 2011-08-17 19:11:54 +02:00
parent c5ad2c2cc6
commit e922bbfa76

View File

@ -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);