Make register_avcodec() call avcodec_init().
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 14 Dec 2008 20:04:00 +0000 (20:04 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 14 Dec 2008 20:04:00 +0000 (20:04 +0000)
commit7a961a46ba28e49f88ff0e81b96395c96b424634
tree81d22ac4380a5cf025ddf9c5045193abf32342f9
parent335a761a908bedc7b8b488d04890bcfe36bb812f
Make register_avcodec() call avcodec_init().

This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
libavcodec/utils.c
libavformat/allformats.c