mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
fftools/ffmpeg: parse forced keyframes in of_open()
Allows to remove the ugly of_get_chapters() wrapper.
This commit is contained in:
@@ -736,11 +736,3 @@ int64_t of_filesize(OutputFile *of)
|
||||
Muxer *mux = mux_from_of(of);
|
||||
return atomic_load(&mux->last_filesize);
|
||||
}
|
||||
|
||||
AVChapter * const *
|
||||
of_get_chapters(OutputFile *of, unsigned int *nb_chapters)
|
||||
{
|
||||
Muxer *mux = mux_from_of(of);
|
||||
*nb_chapters = mux->fc->nb_chapters;
|
||||
return mux->fc->chapters;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user