[MPlayer-cvslog] CVS: main/libmpdemux demux_ts.c,1.49,1.50
Nico Sabbi CVS
syncmail at mplayerhq.hu
Fri May 12 22:26:08 CEST 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv11771
Modified Files:
demux_ts.c
Log Message:
search ac3 in dvd substream only if pes_aligned flag is set in the pes headers, otherwise false positives are likely to occur
Index: demux_ts.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ts.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- demux_ts.c 24 Apr 2006 07:20:34 -0000 1.49
+++ demux_ts.c 12 May 2006 20:26:05 -0000 1.50
@@ -1309,7 +1309,7 @@
return 1;
}
- else if ((p[0] & 0xF8) == 0x80)
+ else if (pes_is_aligned && (p[0] & 0xF8) == 0x80)
{
mp_msg(MSGT_DEMUX, MSGL_DBG2, "A52 WITH HEADER\n");
es->start = p+4;
More information about the MPlayer-cvslog
mailing list