diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 17:41:53 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 17:41:53 +0100 |
commit | c6e18f551244739d929ec2910051a513424c229f (patch) | |
tree | ec5faf49d0fabec9a7c24b4439ca951fecec8eee /src | |
parent | 9b1d69b0f0d23ebddfacb8fa2767f99b52255a31 (diff) | |
download | xine-lib-c6e18f551244739d929ec2910051a513424c229f.tar.gz xine-lib-c6e18f551244739d929ec2910051a513424c229f.tar.bz2 |
Make _x_demux_read_header accept a void* as pointer to buffer.
Removes some warnings in demuxers.
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/demux.c | 2 | ||||
-rw-r--r-- | src/xine-engine/xine_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index 187c27873..6f9f6381d 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -423,7 +423,7 @@ int _x_demux_stop_thread (xine_stream_t *stream) { return 0; } -int _x_demux_read_header( input_plugin_t *input, unsigned char *buffer, off_t size){ +int _x_demux_read_header( input_plugin_t *input, void *buffer, off_t size){ int read_size; unsigned char *buf; diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h index 7e57640c0..13b003992 100644 --- a/src/xine-engine/xine_internal.h +++ b/src/xine-engine/xine_internal.h @@ -445,7 +445,7 @@ void _x_demux_control_start (xine_stream_t *stream) XINE_PROTECTED; void _x_demux_control_end (xine_stream_t *stream, uint32_t flags) XINE_PROTECTED; int _x_demux_start_thread (xine_stream_t *stream) XINE_PROTECTED; int _x_demux_stop_thread (xine_stream_t *stream) XINE_PROTECTED; -int _x_demux_read_header (input_plugin_t *input, unsigned char *buffer, off_t size) XINE_PROTECTED; +int _x_demux_read_header (input_plugin_t *input, void *buffer, off_t size) XINE_PROTECTED; int _x_demux_check_extension (const char *mrl, const char *extensions); off_t _x_read_abort (xine_stream_t *stream, int fd, char *buf, off_t todo) XINE_PROTECTED; |