avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack).
Showing the changes to doc/examples/transcoding.c (1 of 28 files). Show all
Unified · Split
| @@ -517,8 +517,6 @@ int main(int argc, char **argv) · 516 unmodified lines | |||
| 517 | return 1; | 517 | return 1; |
| 518 | } | 518 | } |
| 519 | 519 | ||
| 520 | avfilter_register_all(); | ||
| 521 | |||
| 522 | if ((ret = open_input_file(argv[1])) < 0) | 520 | if ((ret = open_input_file(argv[1])) < 0) |
| 523 | goto end; | 521 | goto end; |
| 524 | if ((ret = open_output_file(argv[2])) < 0) | 522 | if ((ret = open_output_file(argv[2])) < 0) |