diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-18 11:19:38 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-16 08:41:14 +0100 |
commit | c15eb2773a5381e0aef209f22713d505bdad6f02 (patch) | |
tree | 0ca272153ffcd2eed900a9d6ed4a42bfc5856e8a /fftools/ffmpeg.h | |
parent | 41194806812a31d25e24c535fcb92d7d97b8ce9d (diff) | |
download | ffmpeg-c15eb2773a5381e0aef209f22713d505bdad6f02.tar.gz |
fftools/ffmpeg_[de]mux: constify all uses of OptionsContext
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 6218c1dc45..23850c7573 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -729,7 +729,7 @@ int hwaccel_decode_init(AVCodecContext *avctx); */ int of_stream_init(OutputFile *of, OutputStream *ost); int of_write_trailer(OutputFile *of); -int of_open(OptionsContext *o, const char *filename); +int of_open(const OptionsContext *o, const char *filename); void of_close(OutputFile **pof); /* @@ -748,7 +748,7 @@ int64_t of_filesize(OutputFile *of); AVChapter * const * of_get_chapters(OutputFile *of, unsigned int *nb_chapters); -int ifile_open(OptionsContext *o, const char *filename); +int ifile_open(const OptionsContext *o, const char *filename); void ifile_close(InputFile **f); /** |