Fixed possible crash when importing vobsub from mkv files - thx Ile :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1312 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2012-08-06 05:54:21 +00:00
parent 424cf3deab
commit b82c7c452c

View File

@ -7196,9 +7196,9 @@ namespace Nikse.SubtitleEdit.Forms
public static void CopyStream(System.IO.Stream input, System.IO.Stream output)
{
byte[] buffer = new byte[2000];
byte[] buffer = new byte[128000];
int len;
while ((len = input.Read(buffer, 0, 2000)) > 0)
while ((len = input.Read(buffer, 0, 128000)) > 0)
{
output.Write(buffer, 0, len);
}