Fix compilation of the linuxdvb_fake.c

Origin commit data
------------------
Branch: master
Commit: f84e938908
Author: samsamsam <samsamsam@o2.pl>
Date: 2019-01-22 (Tue, 22 Jan 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
samsamsam
2019-01-22 04:08:18 +01:00
committed by max_10
parent f4c3422227
commit 252eaa4929

View File

@@ -104,12 +104,12 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
if (video && videofd < 0)
{
videofd = open(VIDEODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
videofd = open(VIDEODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, 0666);
}
if (audio && audiofd < 0)
{
audiofd = open(AUDIODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
audiofd = open(AUDIODEV, O_CREAT | O_TRUNC | O_WRONLY | S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, 0666);
}
return 0;