From 252eaa492954df8520cc89862f265aff0ce2186c Mon Sep 17 00:00:00 2001 From: samsamsam Date: Tue, 22 Jan 2019 04:08:18 +0100 Subject: [PATCH] Fix compilation of the linuxdvb_fake.c Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/f84e9389084d2b08122d0fe0d36ff1d58db08e96 Author: samsamsam Date: 2019-01-22 (Tue, 22 Jan 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3-arm/output/linuxdvb_fake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libeplayer3-arm/output/linuxdvb_fake.c b/libeplayer3-arm/output/linuxdvb_fake.c index 7bf4422..cb4070c 100644 --- a/libeplayer3-arm/output/linuxdvb_fake.c +++ b/libeplayer3-arm/output/linuxdvb_fake.c @@ -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;