Rename register_avcodec() as avcodec_register() and deprecate the old
function name. Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -88,7 +88,7 @@ AVCodec *av_codec_next(AVCodec *c){
|
||||
else return first_avcodec;
|
||||
}
|
||||
|
||||
void register_avcodec(AVCodec *codec)
|
||||
void avcodec_register(AVCodec *codec)
|
||||
{
|
||||
AVCodec **p;
|
||||
avcodec_init();
|
||||
@ -98,6 +98,11 @@ void register_avcodec(AVCodec *codec)
|
||||
codec->next = NULL;
|
||||
}
|
||||
|
||||
void register_avcodec(AVCodec *codec)
|
||||
{
|
||||
avcodec_register(codec);
|
||||
}
|
||||
|
||||
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){
|
||||
s->coded_width = width;
|
||||
s->coded_height= height;
|
||||
|
Reference in New Issue
Block a user