# HG changeset patch # User michael # Date 1175291992 0 # Node ID 170e151f1d9ef3e766af39049edf1b9095a20a49 # Parent 8c20d8c19e1f1be47f03a269c6d2e3457167bdb0 10^10l to the idiot who designed this format and didnt even realize what number he used diff -r 8c20d8c19e1f -r 170e151f1d9e tta.c --- a/tta.c Fri Mar 30 16:20:40 2007 +0000 +++ b/tta.c Fri Mar 30 21:59:52 2007 +0000 @@ -64,7 +64,7 @@ url_fskip(&s->pb, 4); // header crc - framelen = 1.04489795918367346939 * samplerate; + framelen = samplerate*256/245; c->totalframes = datalen / framelen + ((datalen % framelen) ? 1 : 0); c->currentframe = 0;