1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavf: Reset global flag on deinit

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 45340f9fc7
commit 32da94fa7f

View File

@ -4136,6 +4136,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;
} }