mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 04:44:32 +01:00
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…
x
Reference in New Issue
Block a user