lavf: Reset global flag on deinit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 32da94fa7f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Vittorio Giovara
2015-04-22 14:59:56 +01:00
committed by Michael Niedermayer
parent 004064912f
commit b8f5996071

View File

@@ -4098,6 +4098,7 @@ int avformat_network_deinit(void)
#if CONFIG_NETWORK #if CONFIG_NETWORK
ff_network_close(); ff_network_close();
ff_tls_deinit(); ff_tls_deinit();
ff_network_inited_globally = 0;
#endif #endif
return 0; return 0;
} }