diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-04-09 12:56:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-07-03 11:38:52 +0200 |
commit | f1664aabb18b2d726c3c0c0b7fa8202f3b52b8da (patch) | |
tree | bcbff7ba11217d943ce7992c6fe47ce8ebe67622 /fftools/ffmpeg_mux.c | |
parent | fc446eea05b9bc7de9a3c6b56dae8255bb5c5b5d (diff) | |
download | ffmpeg-f1664aabb18b2d726c3c0c0b7fa8202f3b52b8da.tar.gz |
fftools/ffmpeg: rewrite checking whether codec AVOptions have been used
Share the code between encoding and decoding. Instead of checking every
stream's options dictionary (which is also used for other purposes),
track all used options in a dedicated dictionary.
Diffstat (limited to 'fftools/ffmpeg_mux.c')
-rw-r--r-- | fftools/ffmpeg_mux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c index 4306067eca..80572d7b36 100644 --- a/fftools/ffmpeg_mux.c +++ b/fftools/ffmpeg_mux.c @@ -864,6 +864,7 @@ void of_free(OutputFile **pof) av_freep(&mux->sch_stream_idx); av_dict_free(&mux->opts); + av_dict_free(&mux->enc_opts_used); av_packet_free(&mux->sq_pkt); |