summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-14 08:53:19 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-14 08:53:19 +0000
commitb76812099840c1d71b429584ebb857db282b6c17 (patch)
treea33dbafb7aa666ede5b31368db06bf30d2d66a22 /spudec.c
parent3158a326fe31cc7b84e2c23c61266d50744aaf1d (diff)
downloadmpv-b76812099840c1d71b429584ebb857db282b6c17.tar.bz2
mpv-b76812099840c1d71b429584ebb857db282b6c17.tar.xz
Remove dead code.
Patch by ubitux, ubitux gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31037 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-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);