diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-22 10:32:59 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-22 10:32:59 +0000 |
commit | a5d54eea1232cdf7780bb6ef64ac875741c2989a (patch) | |
tree | 36188f499b83ca04532d6b2aac05bb46505505f3 | |
parent | d087abee976e3ef8fa14cf193de25d0dbb03da13 (diff) |
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
-rw-r--r-- | libmpdemux/muxer_mpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/muxer_mpeg.c b/libmpdemux/muxer_mpeg.c index 7bf3681dc2..f1a1c6620f 100644 --- a/libmpdemux/muxer_mpeg.c +++ b/libmpdemux/muxer_mpeg.c @@ -1522,7 +1522,10 @@ static int flush_buffers(muxer_t *muxer, int finalize) skip_cnt++; if(skip_cnt == muxer->avih.dwStreams) + { + found = 0; break; + } } } |