summaryrefslogtreecommitdiff
path: root/doc/examples
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 /doc/examples
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 'doc/examples')
-rw-r--r--doc/examples/filter_audio.c2
-rw-r--r--doc/examples/filtering_audio.c2
-rw-r--r--doc/examples/filtering_video.c2
-rw-r--r--doc/examples/transcoding.c2
4 files changed, 0 insertions, 8 deletions
diff --git a/doc/examples/filter_audio.c b/doc/examples/filter_audio.c
index 7467c21c30..1611e3d952 100644
--- a/doc/examples/filter_audio.c
+++ b/doc/examples/filter_audio.c
@@ -289,8 +289,6 @@ int main(int argc, char *argv[])
return 1;
}
- avfilter_register_all();
-
/* Allocate the frame we will be using to store the data. */
frame = av_frame_alloc();
if (!frame) {
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 73a00e814c..b109dbcb96 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -228,8 +228,6 @@ int main(int argc, char **argv)
exit(1);
}
- avfilter_register_all();
-
if ((ret = open_input_file(argv[1])) < 0)
goto end;
if ((ret = init_filters(filter_descr)) < 0)
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 01d6644620..ed4e7bbd81 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -222,8 +222,6 @@ int main(int argc, char **argv)
exit(1);
}
- avfilter_register_all();
-
if ((ret = open_input_file(argv[1])) < 0)
goto end;
if ((ret = init_filters(filter_descr)) < 0)
diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c
index ed1fd6411b..a83fa3a185 100644
--- a/doc/examples/transcoding.c
+++ b/doc/examples/transcoding.c
@@ -517,8 +517,6 @@ int main(int argc, char **argv)
return 1;
}
- avfilter_register_all();
-
if ((ret = open_input_file(argv[1])) < 0)
goto end;
if ((ret = open_output_file(argv[2])) < 0)