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
Opusfile
Commits
3b3b3e55
Commit
3b3b3e55
authored
May 24, 2017
by
Timothy B. Terriberry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two compiler warnings.
Thanks to Mark Harris for the report.
parent
529bd012
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/http.c
src/http.c
+1
-1
src/info.c
src/info.c
+1
-1
No files found.
src/http.c
View file @
3b3b3e55
...
...
@@ -3422,6 +3422,7 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb,
proxy_user
=
NULL
;
proxy_pass
=
NULL
;
pinfo
=
NULL
;
*
_pinfo
=
NULL
;
for
(;;){
ptrdiff_t
request
;
request
=
va_arg
(
_ap
,
char
*
)
-
(
char
*
)
NULL
;
...
...
@@ -3453,7 +3454,6 @@ void *op_url_stream_vcreate_impl(OpusFileCallbacks *_cb,
}
/*If the caller has requested server information, proxy it to a local copy to
simplify error handling.*/
*
_pinfo
=
NULL
;
if
(
pinfo
!=
NULL
){
void
*
ret
;
opus_server_info_init
(
_info
);
...
...
src/info.c
View file @
3b3b3e55
...
...
@@ -115,7 +115,7 @@ static int op_tags_ensure_capacity(OpusTags *_tags,size_t _ncomments){
/*We only support growing.
Trimming requires cleaning up the allocated strings in the old space, and
is best handled separately if it's ever needed.*/
OP_ASSERT
(
_ncomments
>=
cur_ncomments
);
OP_ASSERT
(
_ncomments
>=
(
size_t
)
cur_ncomments
);
comment_lengths
=
_tags
->
comment_lengths
;
comment_lengths
=
(
int
*
)
_ogg_realloc
(
_tags
->
comment_lengths
,
size
);
if
(
OP_UNLIKELY
(
comment_lengths
==
NULL
))
return
OP_EFAULT
;
...
...
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