mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
Remove dead code.
Patch by ubitux, ubitux gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31037 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3158a326fe
commit
b768120998
6
spudec.c
6
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);
|
||||
|
Loading…
Reference in New Issue
Block a user