Changeset 609:093b3891d709 in roaraudio for roard/codecfilter_cmd.c


Ignore:
Timestamp:
08/19/08 21:10:25 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

cleanup of casts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter_cmd.c

    r223 r609  
    5959 } 
    6060 
    61  if ( lib_run_bg(cmd, ((struct roar_stream*)info)->fh, socks[1], ROAR_STDERR, socks, 2) == -1 ) 
     61 if ( lib_run_bg(cmd, ROAR_STREAM(info)->fh, socks[1], ROAR_STDERR, socks, 2) == -1 ) 
    6262  return -1; 
    6363 
     
    6969    g_clients[info->client]->fh = socks[0]; 
    7070   } else { 
    71     close(((struct roar_stream*)info)->fh); 
     71    close(ROAR_STREAM(info)->fh); 
    7272   } 
    7373  } else { 
    74    close(((struct roar_stream*)info)->fh); 
     74   close(ROAR_STREAM(info)->fh); 
    7575  } 
    7676 } else { 
    77   close(((struct roar_stream*)info)->fh); 
     77  close(ROAR_STREAM(info)->fh); 
    7878 } 
    7979 
    80  ((struct roar_stream*)info)->fh = socks[0]; 
    81  ((struct roar_stream*)info)->info.codec = ROAR_CODEC_DEFAULT; 
     80 ROAR_STREAM(info)->fh = socks[0]; 
     81 ROAR_STREAM(info)->info.codec = ROAR_CODEC_DEFAULT; 
    8282 close(socks[1]); 
    8383 
Note: See TracChangeset for help on using the changeset viewer.