mirror of https://github.com/mpv-player/mpv
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:
parent
d087abee97
commit
a5d54eea12
|
@ -1522,7 +1522,10 @@ static int flush_buffers(muxer_t *muxer, int finalize)
|
|||
skip_cnt++;
|
||||
|
||||
if(skip_cnt == muxer->avih.dwStreams)
|
||||
{
|
||||
found = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue