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 libavcodec/tests (1 of 28 files). Show all
Unified · Split
| @@ -21,7 +21,6 @@ · 20 unmodified lines | |||
| 21 | int main(void){ | 21 | int main(void){ |
| 22 | AVCodec *codec = NULL; | 22 | AVCodec *codec = NULL; |
| 23 | int ret = 0; | 23 | int ret = 0; |
| 24 | avcodec_register_all(); | ||
| 25 | 24 | ||
| 26 | while (codec = av_codec_next(codec)) { | 25 | while (codec = av_codec_next(codec)) { |
| 27 | if (av_codec_is_encoder(codec)) { | 26 | if (av_codec_is_encoder(codec)) { |