This commit is contained in:
Josh Coalson
2007-07-26 08:01:40 +00:00
parent 69b8730692
commit 42c22d5f00
2 changed files with 3 additions and 1 deletions

View File

@@ -2177,10 +2177,12 @@ FLAC__bool convert_to_seek_table_template(const char *requested_seek_points, int
return true;
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;
}