Changeset 638:f7cdb2c9bb59 in roaraudio
- Timestamp:
- 08/21/08 18:26:35 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_celt.c
r637 r638 147 147 148 148 if ( fs > self->s_buf ) 149 break;149 return -1; 150 150 151 151 if ( stream_vio_s_read(self->stream, self->ibuf, fs) != fs ) 152 break;152 return -1; 153 153 154 154 cbuf = buf + r; … … 156 156 // printf("buf=%p, r=%i // cbuf=%p\n", buf, r, cbuf); 157 157 if ( celt_decode(self->decoder, (unsigned char *) self->ibuf, fs, (celt_int16_t *) cbuf) < 0 ) 158 break;158 return -1; 159 159 160 160 r += self->s_buf; … … 166 166 fs = ROAR_NET2HOST16(fs); 167 167 // printf("next: fs=%i\n", fs); 168 if ( fs > self->s_buf ) 169 return -1; 168 170 if ( stream_vio_s_read(self->stream, self->ibuf, fs) == fs ) { 169 171 // printf("got data!\n");
Note: See TracChangeset
for help on using the changeset viewer.