ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/mjpegtools/files/patch-lavtools__lavrec.c
Revision: 20135
Committed: Sun Aug 30 16:17:22 2015 UTC (8 years, 8 months ago) by laffer1
Content type: text/plain
File size: 542 byte(s)
Log Message:
add mjpegtools

File Contents

# Content
1 --- lavtools/lavrec.c.orig
2 +++ lavtools/lavrec.c
3 @@ -196,7 +196,9 @@
4 #include <stdlib.h>
5 #include <unistd.h>
6 #include <termios.h>
7 +#ifdef __linux
8 #include <sys/fsuid.h>
9 +#endif
10 #include <signal.h>
11 #include <fcntl.h>
12 #include <errno.h>
13 @@ -1149,6 +1151,7 @@
14 sigset_t sigmask;
15 pthread_t input_thread;
16
17 +#ifdef __linux
18 /* no root please (only during audio setup) */
19 if (getuid() != geteuid())
20 {
21 @@ -1159,6 +1162,7 @@
22 return 0;
23 }
24 }
25 +#endif
26
27 info = lavrec_malloc();
28 info->state_changed = statechanged;

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain