Commit ec1fb452 authored by andoma's avatar andoma

Deprecate avcodec_build(), it returns the same value as

avcodec_version().



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14169 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d5a7a0f3
......@@ -2516,8 +2516,10 @@ AVCodec *av_codec_next(AVCodec *c);
/* returns LIBAVCODEC_VERSION_INT constant */
unsigned avcodec_version(void);
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
/* returns LIBAVCODEC_BUILD constant */
unsigned avcodec_build(void);
attribute_deprecated unsigned avcodec_build(void);
#endif
/**
* Initializes libavcodec.
......
......@@ -1200,10 +1200,12 @@ unsigned avcodec_version( void )
return LIBAVCODEC_VERSION_INT;
}
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
unsigned avcodec_build( void )
{
return LIBAVCODEC_BUILD;
}
#endif
void avcodec_init(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment