Avoid a warning.

This commit is contained in:
Moritz Bunkus 2004-11-05 15:52:12 +00:00
parent 986d1b6470
commit f160ef592c

View File

@ -44,7 +44,7 @@ MPEGFrame::~MPEGFrame(){
void M2VParser::SetEOS(){ void M2VParser::SetEOS(){
MPEGChunk * c; MPEGChunk * c;
while(c = mpgBuf->ReadChunk()){ while((c = mpgBuf->ReadChunk())){
if(c) chunks.push_back(c); if(c) chunks.push_back(c);
} }
mpgBuf->ForceFinal(); //Force the last frame out. mpgBuf->ForceFinal(); //Force the last frame out.