diff --git a/src/mpegparser/M2VParser.cpp b/src/mpegparser/M2VParser.cpp index 2029d4087..3a4d76b07 100644 --- a/src/mpegparser/M2VParser.cpp +++ b/src/mpegparser/M2VParser.cpp @@ -44,7 +44,7 @@ MPEGFrame::~MPEGFrame(){ void M2VParser::SetEOS(){ MPEGChunk * c; - while(c = mpgBuf->ReadChunk()){ + while((c = mpgBuf->ReadChunk())){ if(c) chunks.push_back(c); } mpgBuf->ForceFinal(); //Force the last frame out.