addition to "small fix"

Origin commit data
------------------
Branch: master
Commit: 0737aa3ba6
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-03-25 (Mon, 25 Mar 2024)

Origin message was:
------------------
- addition to "small fix"

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-03-25 06:37:01 +01:00
parent 87b08ccfd3
commit 87b2a5dbe3
7 changed files with 16 additions and 16 deletions

View File

@@ -283,11 +283,11 @@ int32_t LinuxDvbBuffOpen(Context_t *context, char *type, int outfd, void *mtx)
if (!ret)
{
if (!strcmp("video", type) && -1 == videofd)
if (!strcmp("video", type) && videofd == -1)
{
videofd = outfd;
}
else if (!strcmp("audio", type) && -1 == audiofd)
else if (!strcmp("audio", type) && audiofd == -1)
{
audiofd = outfd;
}