[vlc-commits] include: remove STANDARD_(READ|BLOCK)_ACCESS_INIT macros

Rémi Denis-Courmont git at videolan.org
Tue Feb 21 22:09:26 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 23:07:27 2017 +0200| [66da98a72223d4cbc4198a775256b45e5e92cc86] | committer: Rémi Denis-Courmont

include: remove STANDARD_(READ|BLOCK)_ACCESS_INIT macros

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66da98a72223d4cbc4198a775256b45e5e92cc86
---

 include/vlc_access.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/include/vlc_access.h b/include/vlc_access.h
index 0531035..c225889 100644
--- a/include/vlc_access.h
+++ b/include/vlc_access.h
@@ -74,20 +74,6 @@ VLC_API int access_vaDirectoryControlHelper( access_t *p_access, int i_query, va
         p_access->pf_seek = (seek); \
     } while(0)
 
-#define STANDARD_READ_ACCESS_INIT \
-    do { \
-        ACCESS_SET_CALLBACKS( Read, NULL, Control, Seek ); \
-        p_sys = p_access->p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) ); \
-        if( !p_sys ) return VLC_ENOMEM;\
-    } while(0);
-
-#define STANDARD_BLOCK_ACCESS_INIT \
-    do { \
-        ACCESS_SET_CALLBACKS( NULL, Block, Control, Seek ); \
-        p_sys = p_access->p_sys = (access_sys_t*)calloc( 1, sizeof( access_sys_t ) ); \
-        if( !p_sys ) return VLC_ENOMEM; \
-    } while(0);
-
 /**
  * Access pf_readdir helper struct
  * \see access_fsdir_init()



More information about the vlc-commits mailing list