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:
@ -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;
|
||||
|
Reference in New Issue
Block a user