summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/MPEG.h4
-rwxr-xr-xsrc/MPEG2_Parser.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/MPEG.h b/src/MPEG.h
index 160d67c..6833584 100755
--- a/src/MPEG.h
+++ b/src/MPEG.h
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2005-2009, John Hurst
+Copyright (c) 2005-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -83,7 +83,7 @@ namespace ASDCP
//
class VESParserDelegate; // the delegate is declared later
- const ui32_t VESHeaderBufSize = 1024*16; // should be larger than any expected header
+ const ui32_t VESHeaderBufSize = 1024*32; // should be larger than any expected header
// MPEG VES parser class - call Parse() as many times as you want with buffers
// of any size. State is maintained between calls. When complete headers are
diff --git a/src/MPEG2_Parser.cpp b/src/MPEG2_Parser.cpp
index 62eb5f5..140a53f 100755
--- a/src/MPEG2_Parser.cpp
+++ b/src/MPEG2_Parser.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2004-2009, John Hurst
+Copyright (c) 2004-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -368,7 +368,7 @@ class ASDCP::MPEG2::Parser::h__Parser
ASDCP_NO_COPY_CONSTRUCT(h__Parser);
public:
- h__Parser() : m_TmpBuffer(VESReadSize*2) {}
+ h__Parser() : m_TmpBuffer(VESReadSize*8) {}
~h__Parser() { Close(); }
Result_t OpenRead(const char* filename);