From f160ef592c51fb95418648c13eb18bfd4bc99439 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 5 Nov 2004 15:52:12 +0000 Subject: [PATCH] Avoid a warning. --- src/mpegparser/M2VParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.