summaryrefslogtreecommitdiffstats
path: root/sub/spudec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/spudec.c')
-rw-r--r--sub/spudec.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/sub/spudec.c b/sub/spudec.c
index a871aa3cd9..6eabaf5723 100644
--- a/sub/spudec.c
+++ b/sub/spudec.c
@@ -1209,16 +1209,6 @@ nothing_to_do:
}
}
-void spudec_update_palette(void * this, unsigned int *palette)
-{
- spudec_handle_t *spu = this;
- if (spu && palette) {
- memcpy(spu->global_palette, palette, sizeof(spu->global_palette));
- if(spu->hw_spu)
- vo_control(spu->hw_spu, VOCTRL_SET_SPU_PALETTE, spu->global_palette);
- }
-}
-
void spudec_set_font_factor(void * this, double factor)
{
spudec_handle_t *spu = this;
@@ -1334,15 +1324,6 @@ void spudec_free(void *this)
}
}
-void spudec_set_hw_spu(void *this, struct vo *hw_spu)
-{
- spudec_handle_t *spu = this;
- if (!spu)
- return;
- spu->hw_spu = hw_spu;
- vo_control(hw_spu, VOCTRL_SET_SPU_PALETTE, spu->global_palette);
-}
-
/**
* palette must contain at least 256 32-bit entries, otherwise crashes
* are possible