diff options
author | Josh de Kock <josh@itanimul.li> | 2018-02-18 17:54:23 +0000 |
---|---|---|
committer | Josh de Kock <josh@itanimul.li> | 2018-04-02 03:26:22 +0100 |
commit | 89029bd2c7f385c078fba8f2a8c19229833caa13 (patch) | |
tree | 84e5ff213ed973be36026109e115831d38b10ff4 /libavformat/tests | |
parent | d1221f335183a07dae761551188677551e5ba792 (diff) |
lav*,tests: remove several register_all calls
avdevice_register_all() is still required to register devices into
lavf (this is required due to lavd being somewhat of a hack).
Signed-off-by: Josh de Kock <josh@itanimul.li>
Diffstat (limited to 'libavformat/tests')
-rw-r--r-- | libavformat/tests/movenc.c | 2 | ||||
-rw-r--r-- | libavformat/tests/seek.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index ad6c92a94c..1d15d97ad9 100644 --- a/libavformat/tests/movenc.c +++ b/libavformat/tests/movenc.c @@ -379,8 +379,6 @@ int main(int argc, char **argv) } } - av_register_all(); - md5 = av_md5_alloc(); if (!md5) return 1; diff --git a/libavformat/tests/seek.c b/libavformat/tests/seek.c index 7ed56ba4ef..e0067a64fc 100644 --- a/libavformat/tests/seek.c +++ b/libavformat/tests/seek.c @@ -91,9 +91,6 @@ int main(int argc, char **argv) av_dict_set(&format_opts, "channels", "1", 0); av_dict_set(&format_opts, "sample_rate", "22050", 0); - /* initialize libavcodec, and register all codecs and formats */ - av_register_all(); - if (argc < 2) { printf("usage: %s input_file\n" "\n", argv[0]); |