[vlc-commits] playlist: remove unused macro

Rémi Denis-Courmont git at videolan.org
Tue Apr 18 20:40:41 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 17 20:00:27 2017 +0300| [ba6a4286cd4a66b869cadd7ac76a84df4ced7fc4] | committer: Rémi Denis-Courmont

playlist: remove unused macro

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

 modules/demux/playlist/playlist.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/demux/playlist/playlist.h b/modules/demux/playlist/playlist.h
index c981e78354..b9a2129d62 100644
--- a/modules/demux/playlist/playlist.h
+++ b/modules/demux/playlist/playlist.h
@@ -90,13 +90,6 @@ do { \
     DEMUX_INIT_COMMON();                    \
     msg_Dbg( p_demux, "%s", msg ); } while(0)
 
-#define DEMUX_BY_EXTENSION_MSG( ext, msg ) \
-    demux_t *p_demux = (demux_t *)p_this; \
-    CHECK_FILE(); \
-    if( !demux_IsPathExtension( p_demux, ext ) ) \
-        return VLC_EGENERIC; \
-    STANDARD_DEMUX_INIT_MSG( msg );
-
 #define CHECK_PEEK( zepeek, size ) do { \
     if( vlc_stream_Peek( p_demux->s , &zepeek, size ) < size ){ \
         msg_Dbg( p_demux, "not enough data" ); return VLC_EGENERIC; } } while(0)



More information about the vlc-commits mailing list