Mercurial > pt1.oyama
diff src/recpt1.c @ 177:1d6674183e76
Fix problem: If do not specify DLNA, will not call pthread_join(stream_thread,)
author | Naoya OYAMA <naoya.oyama@gmail.com> |
---|---|
date | Wed, 07 Nov 2012 22:54:19 +0900 |
parents | 03ab3ade9fe5 |
children | a0bc3700a496 |
line wrap: on
line diff
--- a/src/recpt1.c Mon Nov 05 23:11:32 2012 +0900 +++ b/src/recpt1.c Wed Nov 07 22:54:19 2012 +0900 @@ -1421,10 +1421,10 @@ /* wait for threads */ pthread_join(reader_thread, NULL); - pthread_join(stream_thread, NULL); pthread_join(signal_thread, NULL); pthread_join(ipc_thread, NULL); if ( use_dlna ) { + pthread_join(stream_thread, NULL); pthread_join(dlna_thread, NULL); if ( channel_list ) close_list_file(channel_list);