Supplement to "libeplayer3: Standardize comparison order and improve code readability"

Origin commit data
------------------
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
committed by Thilo Graf
parent 73536563da
commit 900c92a67e
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;
}