diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-12-13 15:50:36 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-07-23 11:53:19 +0200 |
commit | 52fee96ae9ed34041718d238223a207e2c018dae (patch) | |
tree | 0c3f5aea75d600e320f2dde4406a1eb21f1892ca /fftools/ffmpeg.h | |
parent | ec00b005f9fa0942954bfc865f3b9606aa957a3c (diff) |
fftools/ffmpeg: move output file opts into private context
It is private to the muxer, no reason to access it from outside.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index c45203e8ba..ecceedbd90 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -584,7 +584,6 @@ typedef struct OutputFile { const AVOutputFormat *format; AVFormatContext *ctx; - AVDictionary *opts; int ost_index; /* index of the first stream in output_streams */ int64_t recording_time; ///< desired length of the resulting file in microseconds == AV_TIME_BASE units int64_t start_time; ///< start time in microseconds == AV_TIME_BASE units @@ -688,7 +687,7 @@ int hw_device_setup_for_filter(FilterGraph *fg); int hwaccel_decode_init(AVCodecContext *avctx); -int of_muxer_init(OutputFile *of, int64_t limit_filesize); +int of_muxer_init(OutputFile *of, AVDictionary *opts, int64_t limit_filesize); /* open the muxer when all the streams are initialized */ int of_check_init(OutputFile *of); int of_write_trailer(OutputFile *of); |