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
7d70f093
Commit
7d70f093
authored
Nov 21, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/avsscanf: do not use unsupported p suffix for hex variable
parent
ce0a7536
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
avsscanf.c
libavutil/avsscanf.c
+1
-3
No files found.
libavutil/avsscanf.c
View file @
7d70f093
...
...
@@ -241,8 +241,6 @@ static long long scanexp(FFFILE *f, int pok)
#define LD_B1B_MAX 9007199, 254740991
#define KMAX 128
#define MASK (KMAX-1)
#define CONCAT2(x,y) x ## y
#define CONCAT(x,y) CONCAT2(x,y)
static
double
decfloat
(
FFFILE
*
f
,
int
c
,
int
bits
,
int
emin
,
int
sign
,
int
pok
)
{
...
...
@@ -483,7 +481,7 @@ static double decfloat(FFFILE *f, int c, int bits, int emin, int sign, int pok)
y
-=
bias
;
if
((
e2
+
DBL_MANT_DIG
&
INT_MAX
)
>
emax
-
5
)
{
if
(
fabs
(
y
)
>=
CONCAT
(
0x1
p
,
DBL_MANT_DIG
))
{
if
(
fabs
(
y
)
>=
pow
(
2
,
DBL_MANT_DIG
))
{
if
(
denormal
&&
bits
==
DBL_MANT_DIG
+
e2
-
emin
)
denormal
=
0
;
y
*=
0
.
5
;
...
...
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