From d18a5cad7f002b2f67385e57118048ea3db185a6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 4 Mar 2012 14:44:43 -0500 Subject: Tweak paramters of mp3_play_data and callback. Use generic void * and size_t and make mp3_play_data and its callback agree on types. Use mp3_play_callback_t instead of prototyping right in the function call (so it's not so messy to look at). Change doesn't appear to require plugin API version increment. Change-Id: Idcab2740ee316a2beb6e0a87b8f4934d9d6b3dd8 --- apps/plugins/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/video.c') diff --git a/apps/plugins/video.c b/apps/plugins/video.c index 9053ae7fb0..6a66324a79 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -448,7 +448,7 @@ static void timer4_isr(void) /* ISR function to get more mp3 data */ -static void GetMoreMp3(unsigned char** start, size_t* size) +static void GetMoreMp3(const void** start, size_t* size) { int available; int advance; -- cgit v1.2.3