diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-06 20:57:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-11 01:28:41 +0200 |
| commit | 343464b6db9d451c82fbdcd1f43da587bd6992af (patch) | |
| tree | 9fb3e306796c4cba6bafb316294bddb7c0e5009e /src/MPEG2_Parser.cpp | |
| parent | 9aa0ea1db985b0348654dbe974383553be574ce7 (diff) | |
Fix warnings about not all possible values in a switch
being handled.
Diffstat (limited to 'src/MPEG2_Parser.cpp')
| -rwxr-xr-x | src/MPEG2_Parser.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/MPEG2_Parser.cpp b/src/MPEG2_Parser.cpp index abfe32b..8b79d51 100755 --- a/src/MPEG2_Parser.cpp +++ b/src/MPEG2_Parser.cpp @@ -94,6 +94,8 @@ class h__ParserState case ST_EXT: m_State = ST_SEQ; return RESULT_OK; + default: + break; } DefaultLogSink().Error("SEQ follows %s\n", StringParserState(m_State)); @@ -110,6 +112,8 @@ class h__ParserState case ST_EXT: m_State = ST_SLICE; return RESULT_OK; + default: + break; } DefaultLogSink().Error("Slice follows %s\n", StringParserState(m_State)); @@ -128,6 +132,8 @@ class h__ParserState case ST_EXT: m_State = ST_PIC; return RESULT_OK; + default: + break; } DefaultLogSink().Error("PIC follows %s\n", StringParserState(m_State)); @@ -144,6 +150,8 @@ class h__ParserState case ST_SEQ: m_State = ST_GOP; return RESULT_OK; + default: + break; } DefaultLogSink().Error("GOP follows %s\n", StringParserState(m_State)); @@ -161,6 +169,8 @@ class h__ParserState case ST_GOP: m_State = ST_EXT; return RESULT_OK; + default: + break; } DefaultLogSink().Error("EXT follows %s\n", StringParserState(m_State)); |
