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 tests/api/api-codec-param-test.c (1 of 28 files). Show all
Unified · Split
| @@ -231,8 +231,6 @@ int main(int argc, char* argv[]) · 230 unmodified lines | |||
| 231 | AVFormatContext *fmt_ctx = NULL; | 231 | AVFormatContext *fmt_ctx = NULL; |
| 232 | AVFormatContext *fmt_ctx_no_decode = NULL; | 232 | AVFormatContext *fmt_ctx_no_decode = NULL; |
| 233 | 233 | ||
| 234 | av_register_all(); | ||
| 235 | |||
| 236 | if (argc < 2) { | 234 | if (argc < 2) { |
| 237 | av_log(NULL, AV_LOG_ERROR, "Usage: %s <input>\n", argv[0]); | 235 | av_log(NULL, AV_LOG_ERROR, "Usage: %s <input>\n", argv[0]); |
| 238 | return -1; | 236 | return -1; |