changeset 20344:5ccb2b837b1c

if no stream could be muxed flush_buffers() returns 0: prevents while(1) stall at the end
author nicodvb
date Sun, 22 Oct 2006 10:32:59 +0000
parents 503431b33108
children 1e522e0d3eae
files libmpdemux/muxer_mpeg.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_mpeg.c	Sun Oct 22 09:58:37 2006 +0000
+++ b/libmpdemux/muxer_mpeg.c	Sun Oct 22 10:32:59 2006 +0000
@@ -1522,7 +1522,10 @@
 				skip_cnt++;
 
 			if(skip_cnt == muxer->avih.dwStreams)
+			{
+				found = 0;
 				break;
+			}
 		}
 	}