# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181380990 -7200
# Node ID cea95767fc03e30a507310363a1eb4652af58546
# Parent d17fc139850c16dd673469a27d04d90cbc8b1364
Make the read() function of input plugins be declared with void pointer as buf
parameter, so that any kind of variable can be passed through it.
diff -r cea95767fc03e30a507310363a1eb4652af58546 -r
d17fc139850c16dd673469a27d04d90cbc8b1364 src/input/input_plugin.h
--- a/src/input/input_plugin.h Sat Jun 09 11:23:10 2007 +0200
+++ b/src/input/input_plugin.h Fri Jun 08 20:47:34 2007 +0200
@@ -118,7 +118,7 @@ struct input_plugin_s {
* Should block until some bytes available for read;
* a return value of 0 indicates no data available
*/
- off_t (*read) (input_plugin_t *this, char *buf, off_t nlen);
+ off_t (*read) (input_plugin_t *this, void *buf, off_t nlen);
/*
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog