Changeset 571:0dfe525abe11 in roaraudio for roard/codecfilter.c
- Timestamp:
- 08/19/08 02:25:49 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter.c
r561 r571 80 80 81 81 if (*codecfilter_id != -1) { 82 if ( filter->open ) 83 return filter->open(inst, codec, info, filter); 82 if ( filter->open ) { 83 if ( (i = filter->open(inst, codec, info, filter)) == -1 ) { 84 info->codecfilter = *codecfilter_id = -1; 85 } 86 return i; 87 } 84 88 return 0; 85 89 } 86 90 87 return -1;91 return 0; // we found no filter -> ok 88 92 } 89 93
Note: See TracChangeset
for help on using the changeset viewer.