From 6bf607b588972aaff055c633010bb370ad9f7489 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Fri, 27 Sep 2013 10:45:30 +0300 Subject: Added const --- src/xine-engine/broadcaster.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xine-engine') 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); -- cgit v1.2.3 From 4162fe03c487c3867abcfcb755144a5ad678e9c3 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Fri, 27 Sep 2013 11:06:14 +0300 Subject: Added const --- src/xine-engine/alphablend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xine-engine') 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; -- cgit v1.2.3 From f6e912f53d03e11beaf324468fac2b6f3cfb43bf Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Fri, 27 Sep 2013 15:52:28 +0200 Subject: demux_qt: simple (E)AC3 support. Works at least with dvb stuff. --- src/xine-engine/buffer_types.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xine-engine') 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, -- cgit v1.2.3