diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-18 12:00:36 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-16 08:41:14 +0100 |
commit | 3c7dd5ed37da6d2de06c4850de5a319ca9cdd47f (patch) | |
tree | 9df79cd44db5087b52ae1408fcfc2e9b45de763a /fftools | |
parent | 15df8261bec5c0a8657d920d532edbccd1e8fc57 (diff) |
fftools/ffmpeg_mux_init: drop a duplicated block in copy_metadata()
It does the same thing as the block right below it.
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg_mux_init.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index f40622750f..2fec8f0bc3 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -1506,16 +1506,6 @@ static int copy_metadata(const char *outspec, const char *inspec, AVFormatContex parse_meta_type(inspec, &type_in, &idx_in, &istream_spec); parse_meta_type(outspec, &type_out, &idx_out, &ostream_spec); - if (!ic) { - if (type_out == 'g' || !*outspec) - o->metadata_global_manual = 1; - if (type_out == 's' || !*outspec) - o->metadata_streams_manual = 1; - if (type_out == 'c' || !*outspec) - o->metadata_chapters_manual = 1; - return 0; - } - if (type_in == 'g' || type_out == 'g') o->metadata_global_manual = 1; if (type_in == 's' || type_out == 's') |