mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user