Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ralph Giles
Opusfile
Commits
f75d06a9
Commit
f75d06a9
authored
Oct 23, 2012
by
Timothy B. Terriberry
Browse files
Fix some printf format warnings in the examples.
parent
bc1985a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/seeking_example.c
View file @
f75d06a9
...
...
@@ -173,7 +173,7 @@ static void verify_seek(OggOpusFile *_of,opus_int64 _byte_offset,
duration
=
op_pcm_total
(
_of
,
li
);
if
(
pcm_offset
+
nsamples
>
duration
){
fprintf
(
stderr
,
"
\n
PCM data after seek exceeded link duration: "
"limit %li, got %li.
\n
"
,
duration
,
pcm_offset
+
nsamples
);
"limit %li, got %li.
\n
"
,
(
long
)
duration
,
(
long
)(
pcm_offset
+
nsamples
)
)
;
nfailures
++
;
}
nchannels
=
op_channel_count
(
_of
,
li
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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