Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
liboggz
Commits
11051e2f
Commit
11051e2f
authored
Jul 29, 2009
by
ogg.k.ogg.k
Committed by
conrad
Feb 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix terminal header check, was off by 1
parent
aee099bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tools/oggz-validate.c
src/tools/oggz-validate.c
+1
-1
No files found.
src/tools/oggz-validate.c
View file @
11051e2f
...
...
@@ -297,7 +297,7 @@ read_page (OGGZ * oggz, const ogg_page * og, long serialno, void * user_data)
packetno
=
(
int
)
oggz_table_lookup
(
ovdata
->
packetno
,
serialno
);
headers
=
oggz_stream_get_numheaders
(
oggz
,
serialno
);
if
(
packetno
<
headers
)
{
if
(
packetno
<
headers
-
1
)
{
/* The previous page was headers, and more are expected */
packetno
+=
packets
;
if
(
oggz_table_insert
(
ovdata
->
packetno
,
serialno
,
(
void
*
)
packetno
)
==
NULL
)
...
...
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