]> git.sesse.net Git - vlc/commitdiff
Removed warnings.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 8 Oct 2007 19:02:18 +0000 (19:02 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 8 Oct 2007 19:02:18 +0000 (19:02 +0000)
modules/demux/cdg.c

index 8d7dbf68c9bb15ff689cb55340122acb77e60173..bb971aae1006cf873e9931f296cc053dbaa3af99 100644 (file)
@@ -144,17 +144,8 @@ static void Close ( vlc_object_t * p_this )
  *****************************************************************************/
 static int Control( demux_t *p_demux, int i_query, va_list args )
 {
-    demux_sys_t *p_sys  = p_demux->p_sys;
-    int64_t *pi64;
-
     switch( i_query )
     {
-#if 0
-    case DEMUX_GET_TIME:
-        pi64 = (int64_t*)va_arg( args, int64_t * );
-        *pi64 = date_Get( &p_sys->pts );
-        return VLC_SUCCESS;
-#endif
     default:
         return demux2_vaControlHelper( p_demux->s, 0, -1,
                                        8*CDG_FRAME_SIZE*CDG_FRAME_RATE, CDG_FRAME_SIZE, i_query, args );