[vlc-commits] access/http: remove dead code

Felix Paul Kühne git at videolan.org
Sun Apr 27 17:41:41 CEST 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 27 17:09:12 2014 +0200| [6fa0c12c95b8eec9537ff2a1d80ae1180dd5ca0a] | committer: Felix Paul Kühne

access/http: remove dead code

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

 modules/access/http.c |   11 -----------
 1 file changed, 11 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 22f752d..7fdbb68 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -996,17 +996,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
         case ACCESS_SET_PAUSE_STATE:
             break;
 
-        case ACCESS_GET_META:
-            p_meta = (vlc_meta_t*)va_arg( args, vlc_meta_t* );
-
-            if( p_sys->psz_icy_name )
-                vlc_meta_Set( p_meta, vlc_meta_Title, p_sys->psz_icy_name );
-            if( p_sys->psz_icy_genre )
-                vlc_meta_Set( p_meta, vlc_meta_Genre, p_sys->psz_icy_genre );
-            if( p_sys->psz_icy_title )
-                vlc_meta_Set( p_meta, vlc_meta_NowPlaying, p_sys->psz_icy_title );
-            break;
-
         case ACCESS_GET_CONTENT_TYPE:
             *va_arg( args, char ** ) =
                 p_sys->psz_mime ? strdup( p_sys->psz_mime ) : NULL;



More information about the vlc-commits mailing list