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 /tests/api | |
parent | d1221f335183a07dae761551188677551e5ba792 (diff) | |
download | ffmpeg-streaming-89029bd2c7f385c078fba8f2a8c19229833caa13.zip ffmpeg-streaming-89029bd2c7f385c078fba8f2a8c19229833caa13.tar.gz |
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 'tests/api')
-rw-r--r-- | tests/api/api-band-test.c | 2 | ||||
-rw-r--r-- | tests/api/api-codec-param-test.c | 2 | ||||
-rw-r--r-- | tests/api/api-flac-test.c | 2 | ||||
-rw-r--r-- | tests/api/api-h264-test.c | 2 | ||||
-rw-r--r-- | tests/api/api-seek-test.c | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/tests/api/api-band-test.c b/tests/api/api-band-test.c index 5ccba4f..a84f6b7 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 377a5e9..0868322 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 c5a37f0..2e90812 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 52282e0..66669fa 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 2b32cb9..d0531a2 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; |