avcodec_version().
Originally committed as revision 14169 to svn://svn.ffmpeg.org/ffmpeg/trunk
/* 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.
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)
{