summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 00:08:46 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-23 00:08:46 +0100
commit855467b5d4a6252ac30963460291b1a9b4c97bee (patch)
tree354b29e1df812641d4330371771292013033a682 /src
parented33012c177152a16e3f0d1097dcd50db6d830e4 (diff)
downloadxine-lib-855467b5d4a6252ac30963460291b1a9b4c97bee.tar.gz
xine-lib-855467b5d4a6252ac30963460291b1a9b4c97bee.tar.bz2
Remove cc_decoder_init function entirely.
Diffstat (limited to 'src')
-rw-r--r--src/spu_dec/cc_decoder.c8
-rw-r--r--src/spu_dec/cc_decoder.h1
-rw-r--r--src/spu_dec/xine_cc_decoder.c2
3 files changed, 0 insertions, 11 deletions
diff --git a/src/spu_dec/cc_decoder.c b/src/spu_dec/cc_decoder.c
index 7da2802f2..5156beb64 100644
--- a/src/spu_dec/cc_decoder.c
+++ b/src/spu_dec/cc_decoder.c
@@ -1517,11 +1517,3 @@ void cc_decoder_close(cc_decoder_t *this)
printf("spucc: cc_decoder_close\n");
#endif
}
-
-
-/*--------------- initialization methods --------------------------*/
-
-void cc_decoder_init(void)
-{
-}
-
diff --git a/src/spu_dec/cc_decoder.h b/src/spu_dec/cc_decoder.h
index 3924bb8be..a1130953f 100644
--- a/src/spu_dec/cc_decoder.h
+++ b/src/spu_dec/cc_decoder.h
@@ -68,7 +68,6 @@ typedef struct cc_state_s {
cc_decoder_t *cc_decoder_open(cc_state_t *cc_state);
void cc_decoder_close(cc_decoder_t *this_obj);
-void cc_decoder_init(void);
void decode_cc(cc_decoder_t *this, uint8_t *buffer, uint32_t buf_len,
int64_t pts);
diff --git a/src/spu_dec/xine_cc_decoder.c b/src/spu_dec/xine_cc_decoder.c
index e8a02a996..b2750aae2 100644
--- a/src/spu_dec/xine_cc_decoder.c
+++ b/src/spu_dec/xine_cc_decoder.c
@@ -316,8 +316,6 @@ static spu_decoder_t *spudec_open_plugin (spu_decoder_class_t *class, xine_strea
this->config_version = 0;
this->cc_open = 0;
- cc_decoder_init();
-
return &this->spu_decoder;
}