From 330b1da779fee3942faccae5294f05853d82b8cc Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Tue, 10 Jan 2012 15:13:11 +0200 Subject: Removed unused variables --- src/spu_dec/spudvb_decoder.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/spu_dec') diff --git a/src/spu_dec/spudvb_decoder.c b/src/spu_dec/spudvb_decoder.c index 8cdba1baa..ec3efcb31 100644 --- a/src/spu_dec/spudvb_decoder.c +++ b/src/spu_dec/spudvb_decoder.c @@ -181,7 +181,6 @@ static void update_region (dvb_spu_decoder_t * this, int region_id, int region_w dvbsub_func_t *dvbsub = this->dvbsub; region_t *reg = &dvbsub->regions[region_id]; - page_t *page = &dvbsub->page; /* reject invalid sizes and set some limits ! */ if ( region_width<=0 || region_height<=0 || region_width>SPU_MAX_WIDTH || region_height>SPU_MAX_HEIGHT ) { @@ -730,7 +729,6 @@ static void process_object_data_segment (dvb_spu_decoder_t * this) dvbsub_func_t *dvbsub = this->dvbsub; - int j; int old_i; int r; @@ -926,7 +924,6 @@ static void spudec_decode_data (spu_decoder_t * this_gen, buf_element_t * buf) int new_i; int data_identifier, subtitle_stream_id; int segment_length, segment_type; - int PES_header_data_length; int PES_packet_length; int i; -- cgit v1.2.3 From 71ef24345912dac9e119a139608747212fdd1fee Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Tue, 10 Jan 2012 15:13:51 +0200 Subject: Fixed include --- src/spu_dec/spudvb_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/spu_dec') diff --git a/src/spu_dec/spudvb_decoder.c b/src/spu_dec/spudvb_decoder.c index ec3efcb31..9153b3a65 100644 --- a/src/spu_dec/spudvb_decoder.c +++ b/src/spu_dec/spudvb_decoder.c @@ -25,7 +25,7 @@ * - Implement support for teletext based subtitles */ -#include "pthread.h" +#include #include #include #include -- cgit v1.2.3 From 9b094bb32305ca3af9a1a86dcc5674bff1c6c27c Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Tue, 10 Jan 2012 15:15:07 +0200 Subject: Define LOG_MODULE before including xine headers --- src/spu_dec/spudvb_decoder.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/spu_dec') diff --git a/src/spu_dec/spudvb_decoder.c b/src/spu_dec/spudvb_decoder.c index 9153b3a65..c2492db8f 100644 --- a/src/spu_dec/spudvb_decoder.c +++ b/src/spu_dec/spudvb_decoder.c @@ -27,6 +27,10 @@ #include #include + +/*#define LOG*/ +#define LOG_MODULE "spudvb" + #include #include #include @@ -35,9 +39,6 @@ #define SPU_MAX_WIDTH 1920 #define SPU_MAX_HEIGHT 1080 -/*#define LOG*/ -#define LOG_MODULE "spudvb" - typedef struct { int x, y; unsigned char is_visible; -- cgit v1.2.3