Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
dea98d59
Commit
dea98d59
authored
Jul 10, 2007
by
Josh Coalson
Browse files
work around ogg flac bug where too many seekpoints makes seektable bigger than one page
parent
c90a5cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/flac/encode.c
View file @
dea98d59
...
...
@@ -2177,7 +2177,11 @@ FLAC__bool convert_to_seek_table_template(const char *requested_seek_points, int
return
true
;
if
(
num_requested_seek_points
<
0
)
{
requested_seek_points
=
"10s;"
;
/*@@@@@@ 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
requested_seek_points
=
"10s;"
;
num_requested_seek_points
=
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment