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 /libavfilter | |
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 'libavfilter')
-rw-r--r-- | libavfilter/lavfutils.c | 2 | ||||
-rw-r--r-- | libavfilter/src_movie.c | 2 | ||||
-rw-r--r-- | libavfilter/tests/filtfmts.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index b6319cf027..db4b69b9f3 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -37,8 +37,6 @@ int ff_load_image(uint8_t *data[4], int linesize[4], av_init_packet(&pkt); - av_register_all(); - iformat = av_find_input_format("image2pipe"); if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) { av_log(log_ctx, AV_LOG_ERROR, diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 258ba504a5..bcabfcc4c2 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -239,8 +239,6 @@ static av_cold int movie_common_init(AVFilterContext *ctx) return AVERROR_PATCHWELCOME; } - av_register_all(); - // Try to find the movie format (container) iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL; diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c index 72b860ae5b..a958621f1c 100644 --- a/libavfilter/tests/filtfmts.c +++ b/libavfilter/tests/filtfmts.c @@ -97,8 +97,6 @@ int main(int argc, char **argv) if (!graph_ctx) return 1; - avfilter_register_all(); - /* get a corresponding filter and open it */ if (!(filter = avfilter_get_by_name(filter_name))) { fprintf(stderr, "Unrecognized filter with name '%s'\n", filter_name); |