Browse Source

Do not start threads in non-threaded cases.

Georgi Chorbadzhiyski 12 years ago
parent
commit
e6184100df
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tsdecrypt.c

+ 1
- 1
tsdecrypt.c View File

@@ -697,7 +697,7 @@ int main(int argc, char **argv) {
697 697
 	signal(SIGINT , signal_quit);
698 698
 	signal(SIGTERM, signal_quit);
699 699
 
700
-	if (&ts.threaded) {
700
+	if (ts.threaded) {
701 701
 		pthread_create(&ts.decode_thread, NULL, &decode_thread, &ts);
702 702
 		pthread_create(&ts.write_thread, NULL , &write_thread , &ts);
703 703
 	}

Loading…
Cancel
Save