Mercurial > libavcodec.hg
diff utils.c @ 8750:2528b6a2b5d3 libavcodec
Rename register_avcodec() as avcodec_register() and deprecate the old
function name.
author | stefano |
---|---|
date | Fri, 06 Feb 2009 23:46:15 +0000 |
parents | eaa08ce79f9a |
children | 7fd1422a8703 |
line wrap: on
line diff
--- a/utils.c Fri Feb 06 13:04:39 2009 +0000 +++ b/utils.c Fri Feb 06 23:46:15 2009 +0000 @@ -88,7 +88,7 @@ else return first_avcodec; } -void register_avcodec(AVCodec *codec) +void avcodec_register(AVCodec *codec) { AVCodec **p; avcodec_init(); @@ -98,6 +98,11 @@ 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;