From 708f8a588d3dd5634566d976ef47ed62bf7daf60 Mon Sep 17 00:00:00 2001 From: Lartza Date: Tue, 10 Mar 2020 16:06:56 +0200 Subject: [PATCH] Fix ffmpeg pipe on Windows --- util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util.py b/util.py index 8738131..447b5c6 100644 --- a/util.py +++ b/util.py @@ -190,8 +190,8 @@ def pipe_no_wait(pipefd): import msvcrt import os - from ctypes import windll, byref, wintypes, GetLastError, WinError - from ctypes.wintypes import HANDLE, DWORD, POINTER, BOOL + from ctypes import windll, byref, wintypes, WinError, POINTER + from ctypes.wintypes import HANDLE, DWORD, BOOL LPDWORD = POINTER(DWORD) PIPE_NOWAIT = wintypes.DWORD(0x00000001)