diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-10-17 10:49:42 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-25 11:04:42 +0200 |
commit | 78efefa9a571b9790f564882aac885e3ae67bfc8 (patch) | |
tree | 35edd702e06bbf1b2d8de7c256e847d1c26b300b /fftools/ffmpeg.h | |
parent | 1af499cde0958264d4cc03f0ff6371c5ae8edbf4 (diff) | |
download | ffmpeg-78efefa9a571b9790f564882aac885e3ae67bfc8.tar.gz |
fftools/ffmpeg_opt: move opening input files to ffmpeg_demux.c
This is similar to what was done before for output files and will allow
introducing demuxer-private state in future commits
Unlike for muxing, the code is moved to existing ffmpeg_demux.c rather
than to a new file. The reason is just file size - the demuxing code is
much smaller than muxing.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 5966cac60e..b47a2a2422 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -689,6 +689,8 @@ extern int input_stream_potentially_available; extern int ignore_unknown_streams; extern int copy_unknown_streams; +extern int recast_media; + #if FFMPEG_OPT_PSNR extern int do_psnr; #endif @@ -756,6 +758,8 @@ 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); + /** * Get next input packet from the demuxer. * |