summaryrefslogtreecommitdiffstats
path: root/mpeglib
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-19 16:50:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-19 16:50:54 +0200
commit70a7fcb38d8a2d7a1b9a974c28ed1303743a3221 (patch)
tree0a63b3ec3d00803f88b938f893163b56eb775e46 /mpeglib
parent9f5e38c77ee2e36e04b0b0993379dea1fd670931 (diff)
downloadtdemultimedia-70a7fcb38d8a2d7a1b9a974c28ed1303743a3221.tar.gz
tdemultimedia-70a7fcb38d8a2d7a1b9a974c28ed1303743a3221.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mpeglib')
-rw-r--r--mpeglib/lib/mpegplay/mpegVideoStream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpeglib/lib/mpegplay/mpegVideoStream.cpp b/mpeglib/lib/mpegplay/mpegVideoStream.cpp
index 5e16b116..a1000695 100644
--- a/mpeglib/lib/mpegplay/mpegVideoStream.cpp
+++ b/mpeglib/lib/mpegplay/mpegVideoStream.cpp
@@ -81,7 +81,7 @@ int MpegVideoStream::isStartCode(unsigned int data) {
case SEQUENCE_ERROR_CODE:
case SYSTEM_HEADER_START_CODE:
case ISO_11172_END_CODE:
- case EOF:
+ case (unsigned)EOF:
return true;
}
if ((SLICE_MIN_START_CODE < data) && (data < SLICE_MAX_START_CODE)) {