mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 07:40:00 +08:00
lavc: make avcodec_init() static on next bump.
It's called from avcodec_register() anyway, so there's no reason for it to be public.
This commit is contained in:
@ -1065,6 +1065,9 @@ const char *avcodec_license(void)
|
||||
return LICENSE_PREFIX LIBAV_LICENSE + sizeof(LICENSE_PREFIX) - 1;
|
||||
}
|
||||
|
||||
#if !FF_API_AVCODEC_INIT
|
||||
static
|
||||
#endif
|
||||
void avcodec_init(void)
|
||||
{
|
||||
static int initialized = 0;
|
||||
|
Reference in New Issue
Block a user