This avoids the possibility to use a registered codec without to first
initialize libavcodec, which resulted in an unexpected behaviour.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16131
9553f0bf-9b14-0410-a0b8-
cfaf0461ba5b
#define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 6
-#define LIBAVCODEC_VERSION_MICRO 1
+#define LIBAVCODEC_VERSION_MICRO 2
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
void register_avcodec(AVCodec *codec)
{
AVCodec **p;
+ avcodec_init();
p = &first_avcodec;
while (*p != NULL) p = &(*p)->next;
*p = codec;
return;
initialized = 1;
- avcodec_init();
avcodec_register_all();
/* (de)muxers */