version bump.
Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
*/
void avcodec_init(void);
+#if LIBAVCODEC_VERSION_MAJOR < 53
/**
* @deprecated Deprecated in favor of avcodec_register().
*/
attribute_deprecated void register_avcodec(AVCodec *codec);
+#endif
/**
* Register the codec \p codec and initialize libavcodec.
codec->next = NULL;
}
+#if LIBAVCODEC_VERSION_MAJOR < 53
void register_avcodec(AVCodec *codec)
{
avcodec_register(codec);
}
+#endif
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
s->coded_width = width;