diff --git a/.gitignore b/.gitignore index 9087a5ac..a559c3e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/shairport +/shairport-sync /*.o /*~ /config.mk diff --git a/rtsp.c b/rtsp.c index 2c85c8a9..c4109aee 100644 --- a/rtsp.c +++ b/rtsp.c @@ -70,7 +70,7 @@ static int is_playing = 0; // it monitors the request variable (at least when interrupted) static pthread_mutex_t playing_mutex = PTHREAD_MUTEX_INITIALIZER; static int please_shutdown = 0; -static pthread_t playing_thread = NULL; +static pthread_t playing_thread = 0; typedef struct { int fd;