summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2011-08-30 17:04:25 +0000
committerjhurst <>2011-08-30 17:04:25 +0000
commitbd6f04fe4a64f32bc1b6bbe4307ed88edd5bae8d (patch)
tree20b5a712dc5f7b36350fa480f62af1bde3adf159 /src
parent7383d49e9aab93ba79bb45ed7b89f8d0684f0fec (diff)
release
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);