History

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).

Josh de Kock committed 8 years ago

Commit 89029bd1 parent d1221f328 files · +0 −58Browse files

Showing the changes to libavfilter (3 of 28 files). Show all

Unified · Split

3 files
  1. libavfilter/lavfutils.c +0 −2
  2. libavfilter/src_movie.c +0 −2
  3. libavfilter/tests/filtfmts.c +0 −2
libavfilter/lavfutils.c+0−2
@@ -37,8 +37,6 @@ int ff_load_image(uint8_t *data[4], int linesize[4], · 36 unmodified lines
3737
3838 av_init_packet(&pkt);
3939
40− av_register_all();
41−
4240 iformat = av_find_input_format("image2pipe");
4341 if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) {
4442 av_log(log_ctx, AV_LOG_ERROR,
libavfilter/src_movie.c+0−2
@@ -239,8 +239,6 @@ static av_cold int movie_common_init(AVFilterContext *ctx) · 238 unmodified lines
239239 return AVERROR_PATCHWELCOME;
240240 }
241241
242− av_register_all();
243−
244242 // Try to find the movie format (container)
245243 iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL;
246244
libavfilter/tests/filtfmts.c+0−2
@@ -97,8 +97,6 @@ int main(int argc, char **argv) · 96 unmodified lines
9797 if (!graph_ctx)
9898 return 1;
9999
100− avfilter_register_all();
101−
102100 /* get a corresponding filter and open it */
103101 if (!(filter = avfilter_get_by_name(filter_name))) {
104102 fprintf(stderr, "Unrecognized filter with name '%s'\n", filter_name);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t