changeset 13581:ffed770f7564

fixed a bug that makes the demuxer loop forever probing a52 audio when a52_syncinfo() returns 0
author nicodvb
date Thu, 07 Oct 2004 21:08:10 +0000
parents 3588a4641781
children a23dcc96744d
files libmpdemux/demux_ts.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Thu Oct 07 16:26:13 2004 +0000
+++ b/libmpdemux/demux_ts.c	Thu Oct 07 21:08:10 2004 +0000
@@ -394,6 +394,8 @@
 				cnt += frame_length;
 				ok++;
 			}
+			else
+			    cnt++;
 		}
 		else
 			cnt++;