mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 21:48:15 +08:00
Deprecate avcodec_build(), it returns the same value as
avcodec_version(). Originally committed as revision 14169 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -2516,8 +2516,10 @@ AVCodec *av_codec_next(AVCodec *c);
|
|||||||
|
|
||||||
/* returns LIBAVCODEC_VERSION_INT constant */
|
/* returns LIBAVCODEC_VERSION_INT constant */
|
||||||
unsigned avcodec_version(void);
|
unsigned avcodec_version(void);
|
||||||
|
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
|
||||||
/* returns LIBAVCODEC_BUILD constant */
|
/* returns LIBAVCODEC_BUILD constant */
|
||||||
unsigned avcodec_build(void);
|
attribute_deprecated unsigned avcodec_build(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes libavcodec.
|
* Initializes libavcodec.
|
||||||
|
@ -1200,10 +1200,12 @@ unsigned avcodec_version( void )
|
|||||||
return LIBAVCODEC_VERSION_INT;
|
return LIBAVCODEC_VERSION_INT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
|
||||||
unsigned avcodec_build( void )
|
unsigned avcodec_build( void )
|
||||||
{
|
{
|
||||||
return LIBAVCODEC_BUILD;
|
return LIBAVCODEC_BUILD;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void avcodec_init(void)
|
void avcodec_init(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user