summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-26 17:06:05 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-26 17:06:05 +0000
commitfc26ad8e82ad04611909cdf08a390bc91582dc9c (patch)
tree7ed3e3d0a82bc74e675eb11221bf267d7ac7e5ff
parent485b1fc107b87c2c7e376ca2a77e0ad7b1f25ab3 (diff)
downloadxine-lib-fc26ad8e82ad04611909cdf08a390bc91582dc9c.tar.gz
xine-lib-fc26ad8e82ad04611909cdf08a390bc91582dc9c.tar.bz2
Don't set get_blocksize to NULL, or the Samba access plugin will _never_ work. Thanks Timothy Redaelli for helping me diagnose it.
CVS patchset: 8564 CVS date: 2007/01/26 17:06:05
-rw-r--r--src/input/input_smb.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/input/input_smb.c b/src/input/input_smb.c
index 21b45fa73..1b1f15565 100644
--- a/src/input/input_smb.c
+++ b/src/input/input_smb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: input_smb.c,v 1.15 2006/07/10 22:08:16 dgp85 Exp $
+ * $Id: input_smb.c,v 1.16 2007/01/26 17:06:05 dgp85 Exp $
*/
@@ -148,6 +148,10 @@ smb_plugin_get_mrl (input_plugin_t *this_gen)
return this->mrl;
}
+static uint32_t smb_plugin_get_blocksize (input_plugin_t *this_gen) {
+ return 0;
+}
+
static char
*smb_class_get_description (input_class_t *this_gen)
{
@@ -485,7 +489,7 @@ smb_class_get_instance (input_class_t *class_gen, xine_stream_t *stream,
this->input_plugin.seek = smb_plugin_seek;
this->input_plugin.get_current_pos = smb_plugin_get_current_pos;
this->input_plugin.get_length = smb_plugin_get_length;
- this->input_plugin.get_blocksize = NULL;
+ this->input_plugin.get_blocksize = smb_plugin_get_blocksize;
this->input_plugin.get_mrl = smb_plugin_get_mrl;
this->input_plugin.get_optional_data =
smb_plugin_get_optional_data;