mirror of https://github.com/mpv-player/mpv
Fix mplayer segfault when v4l driver initialization (at setting norm
stage) failed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24787 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2585d1e148
commit
dde6ba8352
|
@ -693,7 +693,9 @@ static int uninit(priv_t *priv)
|
|||
pthread_mutex_destroy(&priv->skew_mutex);
|
||||
}
|
||||
pthread_mutex_destroy(&priv->video_buffer_mutex);
|
||||
pthread_join(priv->video_grabber_thread, NULL);
|
||||
if(priv->video_grabber_thread)
|
||||
pthread_join(priv->video_grabber_thread, NULL);
|
||||
|
||||
mp_msg(MSGT_TV, MSGL_V, "done\n");
|
||||
|
||||
if (priv->capability.audios) {
|
||||
|
|
Loading…
Reference in New Issue