]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
Make register_avcodec() call avcodec_init().
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 14 Dec 2008 20:04:00 +0000 (20:04 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 14 Dec 2008 20:04:00 +0000 (20:04 +0000)
commit1cf9722db829e841cd8ac2e073ccfff895eb09df
tree82bc6987eb15191c6a17b897f2898a77da2750c7
parent1aac24a22cbffd5eef2262a5bf7bdf411dc8db15
Make register_avcodec() call avcodec_init().

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
libavcodec/avcodec.h
libavcodec/utils.c
libavformat/allformats.c