register_avcodec().
Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
*/
void avcodec_init(void);
-void register_avcodec(AVCodec *format);
+void register_avcodec(AVCodec *codec);
/**
* Finds a registered encoder with a matching codec ID.
else return first_avcodec;
}
-void register_avcodec(AVCodec *format)
+void register_avcodec(AVCodec *codec)
{
AVCodec **p;
p = &first_avcodec;
while (*p != NULL) p = &(*p)->next;
- *p = format;
- format->next = NULL;
+ *p = codec;
+ codec->next = NULL;
}
void avcodec_set_dimensions(AVCodecContext *s, int width, int height){