[MPlayer-cvslog] CVS: main/libmpdemux tvi_v4l2.c,1.25,1.26

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Sun Jul 17 02:41:31 CEST 2005


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1258/libmpdemux

Modified Files:
	tvi_v4l2.c 
Log Message:
fix a crash at v4l2 uninit

Index: tvi_v4l2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l2.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- tvi_v4l2.c	14 May 2005 13:54:25 -0000	1.25
+++ tvi_v4l2.c	17 Jul 2005 00:41:29 -0000	1.26
@@ -893,7 +893,7 @@
     }
 
     /* stop audio thread */
-    if (!tv_param_noaudio) {
+    if (!tv_param_noaudio && priv->audio_grabber_thread) {
 	pthread_join(priv->audio_grabber_thread, NULL);
 	pthread_mutex_destroy(&priv->skew_mutex);
 	pthread_mutex_destroy(&priv->audio_mutex);




More information about the MPlayer-cvslog mailing list