summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 12d55174b8..c731cec53b 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);