summaryrefslogtreecommitdiff
path: root/fftools
diff options
context:
space:
mode:
authorJosh de Kock <josh@itanimul.li>2018-02-18 17:54:23 +0000
committerJosh de Kock <josh@itanimul.li>2018-04-02 03:26:22 +0100
commit89029bd2c7f385c078fba8f2a8c19229833caa13 (patch)
tree84e5ff213ed973be36026109e115831d38b10ff4 /fftools
parentd1221f335183a07dae761551188677551e5ba792 (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 'fftools')
-rw-r--r--fftools/ffmpeg.c3
-rw-r--r--fftools/ffplay.c4
-rw-r--r--fftools/ffprobe.c1
3 files changed, 0 insertions, 8 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index d3bc382dec..2f8a5ace56 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -4776,12 +4776,9 @@ int main(int argc, char **argv)
argv++;
}
- avcodec_register_all();
#if CONFIG_AVDEVICE
avdevice_register_all();
#endif
- avfilter_register_all();
- av_register_all();
avformat_network_init();
show_banner(argc, argv, options);
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index f2028d4b13..bc9ddb8885 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -3655,10 +3655,6 @@ int main(int argc, char **argv)
#if CONFIG_AVDEVICE
avdevice_register_all();
#endif
-#if CONFIG_AVFILTER
- avfilter_register_all();
-#endif
- av_register_all();
avformat_network_init();
init_opts();
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index a4ac6972a2..2582649fd3 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -3567,7 +3567,6 @@ int main(int argc, char **argv)
options = real_options;
parse_loglevel(argc, argv, options);
- av_register_all();
avformat_network_init();
init_opts();
#if CONFIG_AVDEVICE