fix a segfault when calling loadfile during v4l2 playback

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14215 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2004-12-22 13:19:30 +00:00
parent 5e6cd8241b
commit 227df915e5
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ static int uninit(priv_t *priv)
}
/* stop audio thread */
if (!tv_param_noaudio) {
if (!tv_param_noaudio && !tv_param_immediate) {
pthread_join(priv->audio_grabber_thread, NULL);
pthread_mutex_destroy(&priv->skew_mutex);
}