diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-10 09:50:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-10 12:49:57 +0200 |
commit | 7221139ba0486c24afeac1f41ba97c75f58046b9 (patch) | |
tree | 80cd8ebf69f529cff4308ae09b742a1e19957ff6 /libavcodec/version.h | |
parent | d1d33e0763d68c6eaff1342247f8c3198a188f0a (diff) | |
download | ffmpeg-7221139ba0486c24afeac1f41ba97c75f58046b9.tar.gz |
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.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h index 24d2488249..7eb5ce0424 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -80,5 +80,8 @@ #ifndef FF_API_VERY_AGGRESSIVE #define FF_API_VERY_AGGRESSIVE (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_AVCODEC_INIT +#define FF_API_AVCODEC_INIT (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #endif /* AVCODEC_VERSION_H */ |