mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
ffmpeg: reset streamid_map between output files.
This commit is contained in:
parent
6bdd9fbc89
commit
8b85b9fa42
3
ffmpeg.c
3
ffmpeg.c
@ -538,7 +538,6 @@ static int exit_program(int ret)
|
|||||||
fclose(vstats_file);
|
fclose(vstats_file);
|
||||||
av_free(vstats_filename);
|
av_free(vstats_filename);
|
||||||
|
|
||||||
av_free(streamid_map);
|
|
||||||
av_free(meta_data_maps);
|
av_free(meta_data_maps);
|
||||||
|
|
||||||
av_freep(&input_streams);
|
av_freep(&input_streams);
|
||||||
@ -3860,6 +3859,8 @@ static int opt_output_file(const char *opt, const char *filename)
|
|||||||
metadata_chapters_autocopy = 1;
|
metadata_chapters_autocopy = 1;
|
||||||
av_freep(&stream_maps);
|
av_freep(&stream_maps);
|
||||||
nb_stream_maps = 0;
|
nb_stream_maps = 0;
|
||||||
|
av_freep(&streamid_map);
|
||||||
|
nb_streamid_map = 0;
|
||||||
|
|
||||||
av_dict_free(&codec_names);
|
av_dict_free(&codec_names);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user