From 3645236918ccf150e9a8550f2e64e3e72f7d37a7 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Tue, 3 Jan 2023 20:46:36 +1100 Subject: [PATCH] JpegSegmentReader: increase buffer size --- .../com/drew/imaging/jpg/JpegSegmentReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExtLibs/MetaDataExtractorCSharp240d/com/drew/imaging/jpg/JpegSegmentReader.cs b/ExtLibs/MetaDataExtractorCSharp240d/com/drew/imaging/jpg/JpegSegmentReader.cs index 748fbf8580..ae1d3c9137 100644 --- a/ExtLibs/MetaDataExtractorCSharp240d/com/drew/imaging/jpg/JpegSegmentReader.cs +++ b/ExtLibs/MetaDataExtractorCSharp240d/com/drew/imaging/jpg/JpegSegmentReader.cs @@ -333,7 +333,7 @@ private BufferedStream GetJpegInputStream() { lcInputStream = new MemoryStream(this.data); } - return new BufferedStream(lcInputStream); + return new BufferedStream(lcInputStream, 1024 * 50); } ///