wok diff libmms/stuff/libmms.patch @ rev 22366

imlib: add patch for giflib >= 5 api
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 22 11:57:18 2019 +0100 (2019-11-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libmms/stuff/libmms.patch	Fri Nov 22 11:57:18 2019 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +--- a/src/mmsx.h
     1.5 ++++ b/src/mmsx.h
     1.6 +@@ -55,11 +55,11 @@
     1.7 + 
     1.8 + mms_off_t mmsx_get_current_pos (mmsx_t *instance);
     1.9 + 
    1.10 +-uint32_t  mmsx_get_asf_header_len (mmsx_t *this);
    1.11 ++uint32_t  mmsx_get_asf_header_len (mmsx_t *instance);
    1.12 + 
    1.13 +-uint64_t  mmsx_get_asf_packet_len (mmsx_t *this);
    1.14 ++uint64_t  mmsx_get_asf_packet_len (mmsx_t *instance);
    1.15 + 
    1.16 +-int       mmsx_get_seekable (mmsx_t *this);
    1.17 ++int       mmsx_get_seekable (mmsx_t *instance);
    1.18 + 
    1.19 + #ifdef __cplusplus
    1.20 + }
    1.21 +
    1.22 +--- a/src/mmsh.h
    1.23 ++++ b/src/mmsh.h
    1.24 +@@ -41,20 +41,20 @@
    1.25 + 
    1.26 + int      mmsh_read (mms_io_t *io, mmsh_t *instance, char *data, int len);
    1.27 + int      mmsh_time_seek (mms_io_t *io, mmsh_t *instance, double time_sec);
    1.28 +-mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *this, mms_off_t offset, int origin);
    1.29 ++mms_off_t mmsh_seek (mms_io_t *io, mmsh_t *instance, mms_off_t offset, int origin);
    1.30 + uint32_t mmsh_get_length (mmsh_t *instance);
    1.31 +-double   mmsh_get_time_length (mmsh_t *this);
    1.32 +-uint64_t mmsh_get_raw_time_length (mmsh_t *this);
    1.33 ++double   mmsh_get_time_length (mmsh_t *instance);
    1.34 ++uint64_t mmsh_get_raw_time_length (mmsh_t *instance);
    1.35 + mms_off_t mmsh_get_current_pos (mmsh_t *instance);
    1.36 + void     mmsh_close (mmsh_t *instance);
    1.37 + 
    1.38 + int      mmsh_peek_header (mmsh_t *instance, char *data, int maxsize);
    1.39 + 
    1.40 +-uint32_t mmsh_get_asf_header_len (mmsh_t *this);
    1.41 ++uint32_t mmsh_get_asf_header_len (mmsh_t *instance);
    1.42 + 
    1.43 +-uint32_t mmsh_get_asf_packet_len (mmsh_t *this);
    1.44 ++uint32_t mmsh_get_asf_packet_len (mmsh_t *instance);
    1.45 + 
    1.46 +-int      mmsh_get_seekable (mmsh_t *this);
    1.47 ++int      mmsh_get_seekable (mmsh_t *instance);
    1.48 + 
    1.49 + #ifdef __cplusplus
    1.50 + }