if no stream could be muxed flush_buffers() returns 0: prevents while(1) stall at the end

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20350 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2006-10-22 10:32:59 +00:00
parent d087abee97
commit a5d54eea12
1 changed files with 3 additions and 0 deletions

View File

@ -1522,7 +1522,10 @@ static int flush_buffers(muxer_t *muxer, int finalize)
skip_cnt++;
if(skip_cnt == muxer->avih.dwStreams)
{
found = 0;
break;
}
}
}