]> git.sesse.net Git - mlt/blobdiff - src/modules/sdl/consumer_sdl_audio.c
Initial port to Windows using MinGW.
[mlt] / src / modules / sdl / consumer_sdl_audio.c
index c6103fbb4667dc1a0d20960f4817ddf7d7b4e418..f15bbf2106efc5140c5ba4311a30ed8e5aabdfea 100644 (file)
@@ -193,7 +193,9 @@ int consumer_stop( mlt_consumer parent )
                pthread_mutex_unlock( &this->refresh_mutex );
 
                // Cleanup the main thread
+#ifndef WIN32
                if ( this->thread )
+#endif
                        pthread_join( this->thread, NULL );
 
                // Unlatch the audio callback