From 3718731bca7116c125f249fc654c9f099ab080ff Mon Sep 17 00:00:00 2001 From: martii Date: Thu, 10 Apr 2014 20:46:39 +0200 Subject: [PATCH] libeplayer3/output: remove redundant videofd check Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/26263556843628ad40d366897fed345211b683a7 Author: martii Date: 2014-04-10 (Thu, 10 Apr 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libeplayer3/output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libeplayer3/output.cpp b/libeplayer3/output.cpp index 07851a1..b48ea60 100644 --- a/libeplayer3/output.cpp +++ b/libeplayer3/output.cpp @@ -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;