[MPlayer-cvslog] r20524 - trunk/libmpdemux/demux_ts.c
nicodvb
subversion at mplayerhq.hu
Sun Oct 29 23:02:10 CET 2006
Author: nicodvb
Date: Sun Oct 29 23:02:10 2006
New Revision: 20524
Modified:
trunk/libmpdemux/demux_ts.c
Log:
a previous commit introduced a bug that prevented tables
from being parsed in the feeding phase;
removed useless debugs
Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c (original)
+++ trunk/libmpdemux/demux_ts.c Sun Oct 29 23:02:10 2006
@@ -2775,11 +2775,6 @@
continue;
}
}
- else
- {
- stream_skip(stream, buf_size+junk);
- continue;
- }
//IS IT TIME TO QUEUE DATA to the dp_packet?
if(is_start && (dp != NULL))
@@ -2788,7 +2783,7 @@
}
- if(*dp == NULL)
+ if(dp && *dp == NULL)
{
if(*buffer_size > MAX_PACK_BYTES)
*buffer_size = MAX_PACK_BYTES;
@@ -2801,8 +2796,6 @@
}
mp_msg(MSGT_DEMUX, MSGL_DBG2, "CREATED DP(%d)\n", *buffer_size);
}
-
- mp_msg(MSGT_DEMUX, MSGL_DBG2, "NOW PACKET_SIZE = %d, DP_OFFSET = %d\n", *buffer_size, *dp_offset);
}
@@ -2868,6 +2861,9 @@
}
}
+ if(!probe && !dp)
+ continue;
+
if(is_start)
{
uint8_t *lang = NULL;
More information about the MPlayer-cvslog
mailing list