summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'avplay.c')
-rw-r--r--avplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avplay.c b/avplay.c
index 58db59639d..c67cc75fe8 100644
--- a/avplay.c
+++ b/avplay.c
@@ -1259,6 +1259,7 @@ static void do_exit(void)
#if CONFIG_AVFILTER
avfilter_uninit();
#endif
+ avformat_network_deinit();
if (show_status)
printf("\n");
SDL_Quit();
@@ -3066,6 +3067,7 @@ int main(int argc, char **argv)
avfilter_register_all();
#endif
av_register_all();
+ avformat_network_init();
init_opts();