summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg_mux.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-17 14:22:58 +0100
committerAnton Khirnov <anton@khirnov.net>2022-11-28 10:28:14 +0100
commit334e52e09441213c9c391d7c0f5d0126eaa98396 (patch)
tree84bb74048a2e4c801404ee5b3f966a8be11db575 /fftools/ffmpeg_mux.c
parentefe442362794abe3cef43eea6b4071919b0b2866 (diff)
downloadffmpeg-334e52e09441213c9c391d7c0f5d0126eaa98396.tar.gz
fftools/ffmpeg: parse forced keyframes in of_open()
Allows to remove the ugly of_get_chapters() wrapper.
Diffstat (limited to 'fftools/ffmpeg_mux.c')
-rw-r--r--fftools/ffmpeg_mux.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
index 7da29db8f4..de5facbdc0 100644
--- a/fftools/ffmpeg_mux.c
+++ b/fftools/ffmpeg_mux.c
@@ -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;
-}