From f2d1f1ff2f28780539947a6f270d23ed4afb8728 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 19 Apr 2012 20:04:52 +0000 Subject: [PATCH] discohawk-fix bug that made some cue source files whose ffmpeg decode output is very verbose trigger a deadlock through stdout buffer filling up --- BizHawk.Emulation/DiscSystem/Decoding.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation/DiscSystem/Decoding.cs b/BizHawk.Emulation/DiscSystem/Decoding.cs index f1941bdb7d..48413b7060 100644 --- a/BizHawk.Emulation/DiscSystem/Decoding.cs +++ b/BizHawk.Emulation/DiscSystem/Decoding.cs @@ -64,8 +64,8 @@ namespace BizHawk.DiscSystem oInfo.RedirectStandardError = true; Process proc = System.Diagnostics.Process.Start(oInfo); - proc.WaitForExit(); string result = proc.StandardError.ReadToEnd(); + proc.WaitForExit(); return result; }