Drop the deprecated function register_avcodec() at the next major

version bump.

Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini
2009-02-06 23:54:50 +00:00
parent 9be26823b9
commit 9d385cfec4
2 changed files with 4 additions and 0 deletions

View File

@ -98,10 +98,12 @@ void avcodec_register(AVCodec *codec)
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;