Changeset 747:de481ef1b88b in roaraudio
- Timestamp:
- 09/05/08 01:07:40 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter_vorbis.c
r746 r747 77 77 78 78 ROAR_DBG("cf_vorbis_open(*): info->id=%i", ROAR_STREAM(info)->id); 79 80 /*81 if ( (self->in = fdopen(s->fh, "r")) == NULL ) {82 free((void*)self);83 return -1;84 }85 */86 79 87 80 *inst = (CODECFILTER_USERDATA_T) self; … … 243 236 244 237 //printf("cf_vorbis_read(*): opening...\n"); 245 //int ov_open_callbacks(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks);246 238 if ( ov_open_callbacks((void*)self->stream, &(self->vf), NULL, 0, _g_cf_vorbis_vfvio) < 0 ) { 247 // if ( ov_open(self->in, &(self->vf), NULL, 0) < 0 ) {248 // free((void*)self);249 239 return 0; 250 240 } -
roard/include/codecfilter_vorbis.h
r741 r747 42 42 int last_section; 43 43 int opened; 44 FILE * in;45 44 struct roar_stream_server * stream; 46 45 OggVorbis_File vf;
Note: See TracChangeset
for help on using the changeset viewer.