mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libeplayer3/output: remove redundant videofd check
This commit is contained in:
@@ -87,7 +87,7 @@ bool Output::Open()
|
||||
if (audiofd < 0)
|
||||
audiofd = open(AUDIODEV, O_RDWR);
|
||||
|
||||
if (audiofd < 0 && videofd > -1) {
|
||||
if (audiofd < 0) {
|
||||
close(videofd);
|
||||
videofd = -1;
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user