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
e4eedb98
Commit
e4eedb98
authored
Feb 26, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale-test: fix 3 pointer type warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c6d3b3be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
swscale-test.c
libswscale/swscale-test.c
+3
-3
No files found.
libswscale/swscale-test.c
View file @
e4eedb98
...
...
@@ -124,7 +124,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
res
=
-
1
;
goto
end
;
}
sws_scale
(
srcContext
,
ref
,
refStride
,
0
,
h
,
src
,
srcStride
);
sws_scale
(
srcContext
,
(
const
uint8_t
*
const
*
)
ref
,
refStride
,
0
,
h
,
src
,
srcStride
);
sws_freeContext
(
srcContext
);
cur_srcFormat
=
srcFormat
;
...
...
@@ -166,7 +166,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
flags
);
fflush
(
stdout
);
sws_scale
(
dstContext
,
src
,
srcStride
,
0
,
srcH
,
dst
,
dstStride
);
sws_scale
(
dstContext
,
(
const
uint8_t
*
const
*
)
src
,
srcStride
,
0
,
srcH
,
dst
,
dstStride
);
for
(
i
=
0
;
i
<
4
&&
dstStride
[
i
];
i
++
)
crc
=
av_crc
(
av_crc_get_table
(
AV_CRC_32_IEEE
),
crc
,
dst
[
i
],
...
...
@@ -198,7 +198,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
res
=
-
1
;
goto
end
;
}
sws_scale
(
outContext
,
dst
,
dstStride
,
0
,
dstH
,
out
,
refStride
);
sws_scale
(
outContext
,
(
const
uint8_t
*
const
*
)
dst
,
dstStride
,
0
,
dstH
,
out
,
refStride
);
ssdY
=
getSSD
(
ref
[
0
],
out
[
0
],
refStride
[
0
],
refStride
[
0
],
w
,
h
);
if
(
hasChroma
(
srcFormat
)
&&
hasChroma
(
dstFormat
))
{
...
...
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