From 8a70b9ad85eb4e8942dc6f70a4450b9bb24d98b2 Mon Sep 17 00:00:00 2001 From: compn Date: Tue, 13 Apr 2010 01:26:20 +0000 Subject: typo fix found by ubitux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31035 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spudec.c') diff --git a/spudec.c b/spudec.c index a79d708e38..97be17aff4 100644 --- a/spudec.c +++ b/spudec.c @@ -174,7 +174,7 @@ static inline unsigned char get_nibble(packet_t *packet) static inline int mkalpha(int i) { /* In mplayer's alpha planes, 0 is transparent, then 1 is nearly - opaque upto 255 which is transparent */ + opaque upto 255 which is fully opaque */ // extend 4 -> 8 bit i |= i << 4; return (uint8_t)(-i); -- cgit v1.2.3 From b76812099840c1d71b429584ebb857db282b6c17 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Wed, 14 Apr 2010 08:53:19 +0000 Subject: Remove dead code. Patch by ubitux, ubitux gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31037 b3059339-0415-0410-9bf9-f77b7e298cf2 --- spudec.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'spudec.c') 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); -- cgit v1.2.3