diff options
| author | jhurst <jhurst@cinecert.com> | 2011-08-30 17:04:25 +0000 |
|---|---|---|
| committer | jhurst <> | 2011-08-30 17:04:25 +0000 |
| commit | bd6f04fe4a64f32bc1b6bbe4307ed88edd5bae8d (patch) | |
| tree | 20b5a712dc5f7b36350fa480f62af1bde3adf159 /src | |
| parent | 7383d49e9aab93ba79bb45ed7b89f8d0684f0fec (diff) | |
release
Diffstat (limited to 'src')
| -rwxr-xr-x | src/MPEG.h | 4 | ||||
| -rwxr-xr-x | src/MPEG2_Parser.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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); |
