changeset 929:6dedc7cb0146

accept 1BD packets for PS stream sync
author arpi_esp
date Fri, 01 Jun 2001 17:56:06 +0000
parents 263b153eb021
children ade5a2ab6b78
files demux_mpg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/demux_mpg.c	Fri Jun 01 16:58:10 2001 +0000
+++ b/demux_mpg.c	Fri Jun 01 17:56:06 2001 +0000
@@ -293,7 +293,7 @@
     if(head==0x1BA) demux->synced=1;
   } else
   if(demux->synced==1){
-    if(head==0x1BB || (head>=0x1C0 && head<=0x1EF)){
+    if(head==0x1BB || head==0x1BD || (head>=0x1C0 && head<=0x1EF)){
       demux->synced=2;
       if(verbose) printf("system stream synced at 0x%X (%d)!\n",demux->filepos,demux->filepos);
       num_elementary_packets100=0; // requires for re-sync!