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
e77ffaa0
Commit
e77ffaa0
authored
May 05, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/tiny_ssim: more correct error message
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2ded5721
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tiny_ssim.c
tests/tiny_ssim.c
+1
-1
No files found.
tests/tiny_ssim.c
View file @
e77ffaa0
...
...
@@ -198,7 +198,7 @@ int main(int argc, char* argv[])
sscanf
(
argv
[
3
],
"%dx%d"
,
&
w
,
&
h
);
if
(
w
<=
0
||
h
<=
0
||
w
*
(
int64_t
)
h
>=
INT_MAX
/
3
||
2LL
*
w
+
12
>=
INT_MAX
/
sizeof
(
*
temp
))
{
fprintf
(
stderr
,
"Dimensions are too large
\n
"
);
fprintf
(
stderr
,
"Dimensions are too large
, or invalid
\n
"
);
return
-
2
;
}
...
...
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