summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/api/api-band-test.c2
-rw-r--r--tests/api/api-codec-param-test.c2
-rw-r--r--tests/api/api-flac-test.c2
-rw-r--r--tests/api/api-h264-test.c2
-rw-r--r--tests/api/api-seek-test.c2
5 files changed, 0 insertions, 10 deletions
diff --git a/tests/api/api-band-test.c b/tests/api/api-band-test.c
index 5ccba4f766..a84f6b7e55 100644
--- a/tests/api/api-band-test.c
+++ b/tests/api/api-band-test.c
@@ -214,8 +214,6 @@ int main(int argc, char **argv)
return 1;
}
- av_register_all();
-
if (video_decode(argv[1]) != 0)
return 1;
diff --git a/tests/api/api-codec-param-test.c b/tests/api/api-codec-param-test.c
index 377a5e9c79..0868322cb4 100644
--- a/tests/api/api-codec-param-test.c
+++ b/tests/api/api-codec-param-test.c
@@ -231,8 +231,6 @@ int main(int argc, char* argv[])
AVFormatContext *fmt_ctx = NULL;
AVFormatContext *fmt_ctx_no_decode = NULL;
- av_register_all();
-
if (argc < 2) {
av_log(NULL, AV_LOG_ERROR, "Usage: %s <input>\n", argv[0]);
return -1;
diff --git a/tests/api/api-flac-test.c b/tests/api/api-flac-test.c
index c5a37f03e1..2e9081266f 100644
--- a/tests/api/api-flac-test.c
+++ b/tests/api/api-flac-test.c
@@ -245,8 +245,6 @@ int main(void)
int sample_rates[] = {8000, 44100, 48000, 192000};
int cl, sr;
- avcodec_register_all();
-
enc = avcodec_find_encoder(AV_CODEC_ID_FLAC);
if (!enc) {
av_log(NULL, AV_LOG_ERROR, "Can't find encoder\n");
diff --git a/tests/api/api-h264-test.c b/tests/api/api-h264-test.c
index 52282e0007..66669fa0c3 100644
--- a/tests/api/api-h264-test.c
+++ b/tests/api/api-h264-test.c
@@ -158,8 +158,6 @@ int main(int argc, char **argv)
return 1;
}
- av_register_all();
-
if (video_decode_example(argv[1]) != 0)
return 1;
diff --git a/tests/api/api-seek-test.c b/tests/api/api-seek-test.c
index 2b32cb9e4f..d0531a2f73 100644
--- a/tests/api/api-seek-test.c
+++ b/tests/api/api-seek-test.c
@@ -279,8 +279,6 @@ int main(int argc, char **argv)
return 1;
}
- av_register_all();
-
if (seek_test(argv[1], argv[2], argv[3]) != 0)
return 1;