diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-01 12:22:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-03 17:01:32 +0100 |
| commit | dfb6aa39a8000fc071dfa0680584dae173535c9a (patch) | |
| tree | ccf64f8dbc81ab13d36f3319475fc0e59f95e2ec /src/MPEG2_Parser.cpp | |
| parent | 8204f14304dd463a42f8540413cf95cf49e1f829 (diff) | |
Move public headers into src/asdcp and install them in a asdcp subdirectory.
Diffstat (limited to 'src/MPEG2_Parser.cpp')
| -rwxr-xr-x | src/MPEG2_Parser.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/MPEG2_Parser.cpp b/src/MPEG2_Parser.cpp index eee4635..59a6f3e 100755 --- a/src/MPEG2_Parser.cpp +++ b/src/MPEG2_Parser.cpp @@ -29,7 +29,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \brief AS-DCP library, MPEG2 raw essence reader implementation */ -#include <KM_fileio.h> +#include <asdcp/KM_fileio.h> #include <MPEG.h> #include <KM_log.h> @@ -97,7 +97,7 @@ class h__ParserState default: break; } - + DefaultLogSink().Error("SEQ follows %s\n", StringParserState(m_State)); return RESULT_STATE; } @@ -115,7 +115,7 @@ class h__ParserState default: break; } - + DefaultLogSink().Error("Slice follows %s\n", StringParserState(m_State)); return RESULT_STATE; } @@ -135,7 +135,7 @@ class h__ParserState default: break; } - + DefaultLogSink().Error("PIC follows %s\n", StringParserState(m_State)); return RESULT_STATE; } @@ -153,7 +153,7 @@ class h__ParserState default: break; } - + DefaultLogSink().Error("GOP follows %s\n", StringParserState(m_State)); return RESULT_STATE; } @@ -284,7 +284,7 @@ public: } ~FrameParser() {} - + void Reset() { m_FrameSize = 0; @@ -414,10 +414,10 @@ ASDCP::MPEG2::Parser::h__Parser::OpenRead(const std::string& filename) ui32_t read_count = 0; Result_t result = m_FileReader.OpenRead(filename); - + if ( ASDCP_SUCCESS(result) ) result = m_FileReader.Read(m_TmpBuffer.Data(), m_TmpBuffer.Capacity(), &read_count); - + if ( ASDCP_SUCCESS(result) ) { const byte_t* p = m_TmpBuffer.RoData(); |
