diff options
author | 2011-07-18 00:28:22 +0300 | |
---|---|---|
committer | 2011-07-18 00:57:05 +0300 | |
commit | a4f41308190b79d79a5ac7a50791332e5c1d5600 (patch) | |
tree | 5207b45480ff2317544e17118a58e321160f856c /stream/stream_ffmpeg.c | |
parent | 4e2b15fc5e5f457f62605262a46962b5fd63ff99 (diff) |
cleanup: do libav* initialization on startup
Do the global initialization of libavcodec and libavformat
(avcodec_register_all(), av_register_all()) immediately on program
startup and remove the initialization calls from various individual
modules that use libavcodec/libavformat functionality.
Diffstat (limited to 'stream/stream_ffmpeg.c')
-rw-r--r-- | stream/stream_ffmpeg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_ffmpeg.c b/stream/stream_ffmpeg.c index 343381afb0..101b112448 100644 --- a/stream/stream_ffmpeg.c +++ b/stream/stream_ffmpeg.c @@ -88,7 +88,6 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format) int64_t size; int dummy; - av_register_all(); if (mode == STREAM_READ) flags = URL_RDONLY; else if (mode == STREAM_WRITE) |