Re: compile error webvideo-0.0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Halim Sahin wrote:
Hi,
I can't build the plugin.


menu.c: In member function ‘int cNavigationMenu::GoToURL(const char*, eLinkType, const char*)’:
menu.c:497: warning: deprecated conversion from string constant to ‘char*’
In file included from download.c:18:
/usr/include/libmms/mmsx.h:58: error: expected ‘,’ or ‘...’ before ‘this’
/usr/include/libmms/mmsx.h:60: error: expected ‘,’ or ‘...’ before ‘this’
/usr/include/libmms/mmsx.h:62: error: expected ‘,’ or ‘...’ before ‘this’

This is a bug in libmms headers. You can apply the attached patch to /usr/include/libmms/mmsx.h. Or, if you don't want to edit system files, replace every occurrence of the string "mmsx" with "mms" in download.c in the plugin sources. In the latter case the plugin loses the ability to automatically try mmsh protocol if mms fails.

--
Antti Ajanki

Index: libmms-0.4/src/mmsx.h
===================================================================
--- libmms-0.4.orig/src/mmsx.h	2008-08-04 11:13:49.000000000 +0300
+++ libmms-0.4/src/mmsx.h	2008-08-04 11:14:00.000000000 +0300
@@ -55,11 +55,11 @@
 
 mms_off_t mmsx_get_current_pos (mmsx_t *instance);
 
-uint32_t  mmsx_get_asf_header_len (mmsx_t *this);
+uint32_t  mmsx_get_asf_header_len (mmsx_t *instance);
 
-uint64_t  mmsx_get_asf_packet_len (mmsx_t *this);
+uint64_t  mmsx_get_asf_packet_len (mmsx_t *instance);
 
-int       mmsx_get_seekable (mmsx_t *this);
+int       mmsx_get_seekable (mmsx_t *instance);
 
 #ifdef __cplusplus
 }
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux