Reduce the Matroska read-ahead to 1KB

We only read subtitles, which are individually very small and generally
have video frames between them, resulting in most of the 65 KB
previously read being wasted. On an arbitrary test file this speeds up
subtitle reading from a cold cache by ~25%, and ~60% from warm.

Originally committed to SVN as r6716.
This commit is contained in:
Thomas Goyne 2012-04-22 15:31:16 +00:00
parent b13c72e967
commit e4df8f9654
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ public:
int error;
};
#define CACHESIZE 65536
#define CACHESIZE 1024
#ifdef __VISUALC__
#define std_fseek _fseeki64