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:
Anton Khirnov
2011-08-10 09:50:00 +02:00
parent d1d33e0763
commit 7221139ba0
3 changed files with 15 additions and 8 deletions

View File

@ -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;