summaryrefslogtreecommitdiffstats
path: root/multimedia/mplex/files/patch-af
blob: 12d99a0ca25d5c5ab02b67df1a7b3a81260aadab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- main.c.orig	Wed Apr  5 03:51:53 1995
+++ main.c	Mon Sep  4 18:17:45 2000
@@ -59,6 +59,7 @@
 *************************************************************************/
 
 #include "main.h"
+#include <unistd.h>
 
 /*************************************************************************
     Main
@@ -75,6 +76,8 @@
     struct timeval  tp_global_end;
 #endif
 
+int Interactive=0;
+
 int main (argc, argv)
 
 int argc;
@@ -93,6 +96,14 @@
     unsigned int which_streams=0;
     double	startup_delay=0;
 
+    int tmp;
+
+    if( getopt( argc, argv, "i" ) == 'i' )
+      Interactive=1;
+
+    optind -= 1;
+    argc -= optind;
+    argv += optind;
 
     intro (argc);
     check_files (argc, argv, &audio_file, &video_file, &multi_file,
OpenPOWER on IntegriCloud