--- Josh Coalson wrote: damn, I see the problem. there needs to be an #if FLAC__HAS_OGG nearby, like so: if(num_requested_seek_points < 0) { #if FLAC__HAS_OGG /*@@@@@@ workaround ogg bug: too many seekpoints makes table not fit in one page */ if(e->use_ogg && e->total_samples_to_encode > 0 && e->total_samples_to_encode / e->sample_rate / 10 > 230) requested_seek_points = "230x;"; else #endif requested_seek_points = "10s;"; num_requested_seek_points = 1; } --- end of quote --- that worked. thanks!