diff options
Diffstat (limited to 'src/xine-engine')
| -rw-r--r-- | src/xine-engine/alphablend.c | 4 | ||||
| -rw-r--r-- | src/xine-engine/broadcaster.c | 6 | ||||
| -rw-r--r-- | src/xine-engine/buffer_types.c | 1 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/xine-engine/alphablend.c b/src/xine-engine/alphablend.c index db43fd53a..6e7191ed2 100644 --- a/src/xine-engine/alphablend.c +++ b/src/xine-engine/alphablend.c @@ -1923,7 +1923,7 @@ void _x_dispose_xx44_palette(xx44_palette_t *p) } static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p, - unsigned num_xvmc_components, char *xvmc_components) + unsigned num_xvmc_components, const char *xvmc_components) { const clut_t *color = (const clut_t *) icolor; unsigned int i; @@ -1941,7 +1941,7 @@ static void colorToPalette(const uint32_t *icolor, unsigned char *palette_p, void _x_xx44_to_xvmc_palette(const xx44_palette_t *p,unsigned char *xvmc_palette, unsigned first_xx44_entry, unsigned num_xx44_entries, - unsigned num_xvmc_components, char *xvmc_components) + unsigned num_xvmc_components, const char *xvmc_components) { register unsigned int i; register const uint32_t *cluts = p->cluts + first_xx44_entry; diff --git a/src/xine-engine/broadcaster.c b/src/xine-engine/broadcaster.c index 24bf5a91b..af63435e8 100644 --- a/src/xine-engine/broadcaster.c +++ b/src/xine-engine/broadcaster.c @@ -113,10 +113,10 @@ static int sock_check_opened(int socket) { /* * Write to socket. */ -static int sock_data_write(xine_t *xine, int socket, void *buf_gen, int len) { +static int sock_data_write(xine_t *xine, int socket, const void *buf_gen, int len) { ssize_t size; int wlen = 0; - uint8_t *buf = buf_gen; + const uint8_t *buf = buf_gen; if((socket < 0) || (buf == NULL)) return -1; @@ -160,7 +160,7 @@ sock_string_write(xine_t *xine, int socket, const char *msg, ...) { * this is the most important broadcaster function. * it sends data to every connected client (slaves). */ -static void broadcaster_data_write(broadcaster_t *this, void *buf, int len) { +static void broadcaster_data_write(broadcaster_t *this, const void *buf, int len) { xine_list_iterator_t ite; ite = xine_list_front (this->connections); diff --git a/src/xine-engine/buffer_types.c b/src/xine-engine/buffer_types.c index edc0957ce..52777db91 100644 --- a/src/xine-engine/buffer_types.c +++ b/src/xine-engine/buffer_types.c @@ -808,6 +808,7 @@ static const audio_db_t audio_db[] = { { 0x2000, ME_FOURCC('m', 's', 0x20, 0x00), + ME_FOURCC('a', 'c', '-', '3'), 0 }, BUF_AUDIO_A52, |
