summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spudec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/spudec.c b/spudec.c
index 97be17aff4..e4267bf49a 100644
--- a/spudec.c
+++ b/spudec.c
@@ -533,12 +533,6 @@ void spudec_assemble(void *this, unsigned char *packet, unsigned int len, int pt
mp_msg(MSGT_SPUDEC,MSGL_WARN,"SPUasm: packet too short\n");
return;
}
-#if 0
- if ((spu->packet_pts + 10000) < pts100) {
- // [cb] too long since last fragment: force new packet
- spu->packet_offset = 0;
- }
-#endif
spu->packet_pts = pts100;
if (spu->packet_offset == 0) {
unsigned int len2 = get_be16(packet);