mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
libeplayer3/output: remove redundant videofd check
Origin commit data
------------------
Branch: master
Commit: 2626355684
Author: martii <m4rtii@gmx.de>
Date: 2014-04-10 (Thu, 10 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -87,7 +87,7 @@ bool Output::Open()
|
|||||||
if (audiofd < 0)
|
if (audiofd < 0)
|
||||||
audiofd = open(AUDIODEV, O_RDWR);
|
audiofd = open(AUDIODEV, O_RDWR);
|
||||||
|
|
||||||
if (audiofd < 0 && videofd > -1) {
|
if (audiofd < 0) {
|
||||||
close(videofd);
|
close(videofd);
|
||||||
videofd = -1;
|
videofd = -1;
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user