-
See: http://www.compdigitec.com/labs/2012/06/25/fclose-freezes-when-run-inside-pthread-on-android-2-1/ http://code.google.com/p/android/issues/detail?id=5116 Summary: Android 2.1/2.2's pthread implementation has a bug where fclose() hangs inside pthread. This commit imports a working version of pthread_once that makes VLC for Android work on Android 2.1 and 2.2. Signed-off-by: Rafaël Carré <funman@videolan.org>
74c51fff