mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
Fix compilation of the linuxdvb_fake.c
This commit is contained in:
@@ -104,12 +104,12 @@ int LinuxDvbOpen(Context_t *context __attribute__((unused)), char *type)
|
|||||||
|
|
||||||
if (video && videofd < 0)
|
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)
|
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;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user