diff options
-rw-r--r-- | src/Downloader.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Downloader.cpp b/src/Downloader.cpp index 24f670d..cb9f448 100644 --- a/src/Downloader.cpp +++ b/src/Downloader.cpp @@ -5,7 +5,6 @@ #include <unistd.h> #include <signal.h> #include <sys/wait.h> -#include <fcntl.h> namespace QuickMedia { static bool youtube_url_is_live_stream(const std::string &url) { @@ -308,10 +307,6 @@ namespace QuickMedia { if(res != 0) return -1; - int flags = fcntl(program->read_program.read_fd, F_GETFL, 0); - if(flags != -1) - fcntl(program->read_program.read_fd, F_SETFL, flags | O_NONBLOCK); - return offset; } |