Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fe87b2e7
Commit
fe87b2e7
authored
Oct 17, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parseutils: fix various cast qualifier warnings.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
8aed9095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
parseutils.c
libavutil/parseutils.c
+4
-4
No files found.
libavutil/parseutils.c
View file @
fe87b2e7
...
...
@@ -97,7 +97,7 @@ int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str)
{
int
i
;
int
n
=
FF_ARRAY_ELEMS
(
video_size_abbrs
);
char
*
p
;
c
onst
c
har
*
p
;
int
width
=
0
,
height
=
0
;
for
(
i
=
0
;
i
<
n
;
i
++
)
{
...
...
@@ -109,10 +109,10 @@ int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str)
}
if
(
i
==
n
)
{
p
=
str
;
width
=
strtol
(
p
,
&
p
,
10
);
width
=
strtol
(
p
,
(
void
*
)
&
p
,
10
);
if
(
*
p
)
p
++
;
height
=
strtol
(
p
,
&
p
,
10
);
height
=
strtol
(
p
,
(
void
*
)
&
p
,
10
);
}
if
(
width
<=
0
||
height
<=
0
)
return
AVERROR
(
EINVAL
);
...
...
@@ -573,7 +573,7 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration)
q
=
small_strptime
(
p
,
time_fmt
[
0
],
&
dt
);
if
(
!
q
)
{
/* parse timestr as S+ */
dt
.
tm_sec
=
strtol
(
p
,
(
char
*
*
)
&
q
,
10
);
dt
.
tm_sec
=
strtol
(
p
,
(
void
*
)
&
q
,
10
);
if
(
q
==
p
)
{
/* the parsing didn't succeed */
*
timeval
=
INT64_MIN
;
...
...
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