diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-22 18:04:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-22 18:04:11 +0100 |
| commit | 18610e37a74bdd8fcb4734b20b4dc2aca791fddb (patch) | |
| tree | 37b9d251401fde302030432dbb3d33d4d8081f75 /src/MPEG.cpp | |
| parent | 4b5d6e8d27dfd5fb282590538068662f4dbbf1c9 (diff) | |
Remove use of register keyword (reserved in C++17).
Diffstat (limited to 'src/MPEG.cpp')
| -rwxr-xr-x | src/MPEG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MPEG.cpp b/src/MPEG.cpp index 14fde66..34940bc 100755 --- a/src/MPEG.cpp +++ b/src/MPEG.cpp @@ -151,13 +151,13 @@ ASDCP::MPEG2::VESParser::Parse(const byte_t* buf, ui32_t buf_len) ASDCP_TEST_NULL(m_Delegate); Result_t result = RESULT_OK; - register const byte_t* end_p = buf + buf_len; - register const byte_t* run_pos = buf; // track runs of uninteresting data using a position and count - register ui32_t run_len = 0; + const byte_t* end_p = buf + buf_len; + const byte_t* run_pos = buf; // track runs of uninteresting data using a position and count + ui32_t run_len = 0; // search for MPEG2 headers // copy interesting data to a buffer and pass to delegate for processing - for ( register const byte_t* p = buf; p < end_p; p++ ) + for ( const byte_t* p = buf; p < end_p; p++ ) { if ( m_State->Test_IN_HEADER() ) { |
