Changeset 1406:82403ca55d53 in roaraudio


Ignore:
Timestamp:
03/26/09 13:58:12 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r1238 r1406  
    204204 if ( roar_simple_connect(&con, server, "roarvorbis") == -1 ) { 
    205205  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    206   return -1; 
     206  return 1; 
    207207 } 
    208208 
     
    215215 if ( in == NULL ) { 
    216216  roar_disconnect(&con); 
    217   return -1; 
     217  return 1; 
    218218 } 
    219219 
     
    225225  fprintf(stderr,"Input does not appear to be an Ogg bitstream.\n"); 
    226226  roar_disconnect(&con); 
    227   return -1; 
     227  return 1; 
    228228 } 
    229229 
    230230// if ( update_stream(&con, &s, &out, &vf, file) == -1 ) 
    231 //  return -1; 
     231//  return 1; 
    232232 
    233233 while (!eof) { 
Note: See TracChangeset for help on using the changeset viewer.