From: Michael R. <mr...@us...> - 2003-01-02 12:05:22
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory sc8-pr-cvs1:/tmp/cvs-serv19670/src/xine-engine Modified Files: post.c Log Message: returning void looks bad, agreed (although this is valid C) but removing the entire call is even worse Index: post.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/post.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- post.c 1 Jan 2003 16:19:14 -0000 1.7 +++ post.c 2 Jan 2003 12:05:19 -0000 1.8 @@ -203,14 +203,17 @@ static void post_audio_put_buffer(xine_audio_port_t *port_gen, audio_buffer_t *buf, xine_stream_t *stream) { post_audio_port_t *port = (post_audio_port_t *)port_gen; + port->original_port->put_buffer(port->original_port, buf, stream); } static void post_audio_close(xine_audio_port_t *port_gen, xine_stream_t *stream) { post_audio_port_t *port = (post_audio_port_t *)port_gen; + port->original_port->close(port->original_port, stream); } static void post_audio_exit(xine_audio_port_t *port_gen) { post_audio_port_t *port = (post_audio_port_t *)port_gen; + port->original_port->exit(port->original_port); } static int post_audio_control (xine_audio_port_t *port_gen, int cmd, ...) { @@ -229,6 +232,7 @@ static void post_audio_flush(xine_audio_port_t *port_gen) { post_audio_port_t *port = (post_audio_port_t *)port_gen; + port->original_port->flush(port->original_port); } static int post_audio_status(xine_audio_port_t *port_gen, xine_stream_t *stream, |