Changeset 5534:ea9da1d777c7 in roaraudio for roarclients/roarvorbis.c


Ignore:
Timestamp:
06/12/12 14:59:42 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Done more hardending work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r5381 r5534  
    9797                   roar_vs_t              ** vss, 
    9898                   OggVorbis_File         *  vf, 
    99                    char                   *  file, 
     99                   const char             *  file, 
    100100                   struct roar_audio_info *  info, 
    101101                   struct roar_vio_calls  *  vclt) { 
     
    288288 struct roar_vio_calls vclt, in; 
    289289 struct roar_vio_defaults def; 
    290  char * server   = NULL; 
    291  char * file     = NULL; 
    292  char * vcltfile = NULL; 
    293  char * k; 
     290 const char * file     = NULL; 
     291 const char * vcltfile = NULL; 
     292 const char * k; 
    294293 int    i; 
    295294 struct roar_connection con; 
     
    310309 
    311310  if ( strcmp(k, "--server") == 0 ) { 
    312    server = argv[++i]; 
     311   roar_libroar_set_server(argv[++i]); 
    313312  } else if ( strcmp(k, "--vclt-out") == 0 ) { 
    314313   vcltfile = argv[++i]; 
     
    325324 } 
    326325 
    327  roar_libroar_set_server(server); 
    328  
    329326 if ( file == NULL ) { 
    330327  ROAR_ERR("No filename given."); 
Note: See TracChangeset for help on using the changeset viewer.