fftools/ffmpeg_mux_init: do not export forced_keyframes_const_names[]
ffmpeg | branch: master | Anton Khirnov <anton@khirnov.net> | Tue Sep 24 10:28:08 2024 +0200| [e83b5b2cc8b2fb6eb38f0b3feaecb1631bbaaf83] | committer: Anton Khirnov fftools/ffmpeg_mux_init: do not export forced_keyframes_const_names[] It is only used in this file.
http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e83b5b2cc8b2fb6eb3...
fftools/ffmpeg.h | 2 -- fftools/ffmpeg_mux_init.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 0f5809b752..9439be0f41 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -539,8 +539,6 @@ typedef struct EncStats { int lock_initialized; } EncStats; -extern const char *const forced_keyframes_const_names[]; - enum { KF_FORCE_SOURCE = 1, #if FFMPEG_OPT_FORCE_KF_SOURCE_NO_DROP diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 033fa6aba8..117b1a4338 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -3087,7 +3087,7 @@ finish: return ret; } -const char *const forced_keyframes_const_names[] = { +static const char *const forced_keyframes_const_names[] = { "n", "n_forced", "prev_forced_n",
participants (1)
-
Anton Khirnov