X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg.c;h=c731cec53b4b5d0f8ae0de84ba76fa5a64e3b613;hb=ca52bae6ec7588ae72a5a011d7af80645f999e5e;hp=12d55174b8aec6a9f071dee17a731fdb48b62c4f;hpb=02170990fdb2a05c6eaf5fd449f440ec51c0f822;p=ffmpeg diff --git a/ffmpeg.c b/ffmpeg.c index 12d55174b8a..c731cec53b4 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -493,6 +493,7 @@ void exit_program(int ret) #if CONFIG_AVFILTER avfilter_uninit(); #endif + avformat_network_deinit(); if (received_sigterm) { fprintf(stderr, @@ -4367,6 +4368,7 @@ int main(int argc, char **argv) avfilter_register_all(); #endif av_register_all(); + avformat_network_init(); avio_set_interrupt_cb(decode_interrupt_cb);