diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-14 20:04:00 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-14 20:04:00 +0000 |
commit | 7a961a46ba28e49f88ff0e81b96395c96b424634 (patch) | |
tree | 81d22ac4380a5cf025ddf9c5045193abf32342f9 /libavformat | |
parent | 335a761a908bedc7b8b488d04890bcfe36bb812f (diff) | |
download | ffmpeg-7a961a46ba28e49f88ff0e81b96395c96b424634.tar.gz |
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
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/allformats.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index 986e0f07da..43243f8062 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -50,7 +50,6 @@ void av_register_all(void) return; initialized = 1; - avcodec_init(); avcodec_register_all(); /* (de)muxers */ |