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 tests/api (5 of 28 files). Show all

Unified · Split

5 files
  1. tests/api/api-band-test.c +0 −2
  2. tests/api/api-codec-param-test.c +0 −2
  3. tests/api/api-flac-test.c +0 −2
  4. tests/api/api-h264-test.c +0 −2
  5. tests/api/api-seek-test.c +0 −2
tests/api/api-band-test.c+0−2
@@ -214,8 +214,6 @@ int main(int argc, char **argv) · 213 unmodified lines
214214 return 1;
215215 }
216216
217− av_register_all();
218−
219217 if (video_decode(argv[1]) != 0)
220218 return 1;
221219
tests/api/api-codec-param-test.c+0−2
@@ -231,8 +231,6 @@ int main(int argc, char* argv[]) · 230 unmodified lines
231231 AVFormatContext *fmt_ctx = NULL;
232232 AVFormatContext *fmt_ctx_no_decode = NULL;
233233
234− av_register_all();
235−
236234 if (argc < 2) {
237235 av_log(NULL, AV_LOG_ERROR, "Usage: %s <input>\n", argv[0]);
238236 return -1;
tests/api/api-flac-test.c+0−2
@@ -245,8 +245,6 @@ int main(void) · 244 unmodified lines
245245 int sample_rates[] = {8000, 44100, 48000, 192000};
246246 int cl, sr;
247247
248− avcodec_register_all();
249−
250248 enc = avcodec_find_encoder(AV_CODEC_ID_FLAC);
251249 if (!enc) {
252250 av_log(NULL, AV_LOG_ERROR, "Can't find encoder\n");
tests/api/api-h264-test.c+0−2
@@ -158,8 +158,6 @@ int main(int argc, char **argv) · 157 unmodified lines
158158 return 1;
159159 }
160160
161− av_register_all();
162−
163161 if (video_decode_example(argv[1]) != 0)
164162 return 1;
165163
tests/api/api-seek-test.c+0−2
@@ -279,8 +279,6 @@ int main(int argc, char **argv) · 278 unmodified lines
279279 return 1;
280280 }
281281
282− av_register_all();
283−
284282 if (seek_test(argv[1], argv[2], argv[3]) != 0)
285283 return 1;
286284

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