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
1 changed files with 1 additions and 0 deletions

View File

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