Changeset 609:093b3891d709 in roaraudio for roard/codecfilter_cmd.c
- Timestamp:
- 08/19/08 21:10:25 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_cmd.c
r223 r609 59 59 } 60 60 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 ) 62 62 return -1; 63 63 … … 69 69 g_clients[info->client]->fh = socks[0]; 70 70 } else { 71 close( ((struct roar_stream*)info)->fh);71 close(ROAR_STREAM(info)->fh); 72 72 } 73 73 } else { 74 close( ((struct roar_stream*)info)->fh);74 close(ROAR_STREAM(info)->fh); 75 75 } 76 76 } else { 77 close( ((struct roar_stream*)info)->fh);77 close(ROAR_STREAM(info)->fh); 78 78 } 79 79 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; 82 82 close(socks[1]); 83 83
Note: See TracChangeset
for help on using the changeset viewer.