diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-02-03 14:29:31 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-02-03 14:32:23 +0400 |
commit | 767cd0634248f3b49cbb0dc2bde3fa176bdb6d40 (patch) | |
tree | a790d4e9d615f5c9058ab111aa3c24d7ef4beaa2 /src/filters/parser/MpegSplitter | |
parent | 42ee81efa75241a9b1327238ebfb0128d4251a7e (diff) |
Cosmetics: Define or use some constants when possible.
Diffstat (limited to 'src/filters/parser/MpegSplitter')
-rw-r--r-- | src/filters/parser/MpegSplitter/MpegSplitterFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp index 566248120..1baaa921a 100644 --- a/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp +++ b/src/filters/parser/MpegSplitter/MpegSplitterFile.cpp @@ -107,7 +107,7 @@ HRESULT CMpegSplitterFile::Init(IAsyncReader* pAsyncReader) if (m_type == mpeg_us) {
BYTE b;
- for (int i = 0; (i < 4 || GetPos() < 65536) && m_type == mpeg_us && NextMpegStartCode(b); i++) {
+ for (int i = 0; (i < 4 || GetPos() < MAX_PROBE_SIZE) && m_type == mpeg_us && NextMpegStartCode(b); i++) {
if (b == 0xba) {
pshdr h;
if (Read(h)) {
|