[Flac-dev] building flac 1.2.0 on OS X

Scott C. Brown 02 Scott.C.Brown.02 at Alum.Dartmouth.ORG
Wed Jul 25 20:50:01 PDT 2007


--- 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!


More information about the Flac-dev mailing list