summaryrefslogtreecommitdiffstats
path: root/spudec.h
diff options
context:
space:
mode:
Diffstat (limited to 'spudec.h')
-rw-r--r--spudec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/spudec.h b/spudec.h
index 45568279c3..85e373edda 100644
--- a/spudec.h
+++ b/spudec.h
@@ -23,7 +23,7 @@
void spudec_heartbeat(void *this, unsigned int pts100);
void spudec_assemble(void *this, unsigned char *packet, unsigned int len, int pts100);
-void spudec_draw(void *this, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
+void spudec_draw(void *this, void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);
void spudec_draw_scaled(void *this, unsigned int dxs, unsigned int dys, void (*draw_alpha)(void *ctx, int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride), void *ctx);
void spudec_update_palette(void *this, unsigned int *palette);
void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigned int frame_height, uint8_t *extradata, int extradata_len);