Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
4521645b
Commit
4521645b
authored
Oct 26, 2012
by
Mans Rullgard
Browse files
avio: fix pointer type mismatches in avio_enum_protocols()
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
cc64ec57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
libavformat/avio.c
libavformat/avio.c
+5
-5
No files found.
libavformat/avio.c
View file @
4521645b
...
...
@@ -85,11 +85,11 @@ const AVClass ffurl_context_class = {
const
char
*
avio_enum_protocols
(
void
**
opaque
,
int
output
)
{
URLProtocol
*
*
p
=
opaque
;
*
p
=
ffurl_protocol_next
(
*
p
);
if
(
!
*
p
)
return
NULL
;
if
((
output
&&
(
*
p
)
->
url_write
)
||
(
!
output
&&
(
*
p
)
->
url_read
))
return
(
*
p
)
->
name
;
URLProtocol
*
p
;
*
opaque
=
ffurl_protocol_next
(
*
opaque
);
if
(
!
(
p
=
*
opaque
)
)
return
NULL
;
if
((
output
&&
p
->
url_write
)
||
(
!
output
&&
p
->
url_read
))
return
p
->
name
;
return
avio_enum_protocols
(
opaque
,
output
);
}
...
...
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