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 libavfilter/lavfutils.c (1 of 28 files). Show all
Unified · Split
| @@ -37,8 +37,6 @@ int ff_load_image(uint8_t *data[4], int linesize[4], · 36 unmodified lines | |||
| 37 | 37 | ||
| 38 | av_init_packet(&pkt); | 38 | av_init_packet(&pkt); |
| 39 | 39 | ||
| 40 | av_register_all(); | ||
| 41 | |||
| 42 | iformat = av_find_input_format("image2pipe"); | 40 | iformat = av_find_input_format("image2pipe"); |
| 43 | if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) { | 41 | if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) { |
| 44 | av_log(log_ctx, AV_LOG_ERROR, | 42 | av_log(log_ctx, AV_LOG_ERROR, |