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
eef4b704
Commit
eef4b704
authored
Jan 18, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffprobe: reindent after previous commit
parent
58b10b4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
ffprobe.c
ffprobe.c
+12
-12
No files found.
ffprobe.c
View file @
eef4b704
...
...
@@ -107,19 +107,19 @@ static char *value_string(char *buf, int buf_size, struct unit_value uv)
int
l
;
if
(
use_value_prefix
)
{
long
long
int
index
;
long
long
int
index
;
if
(
uv
.
unit
==
unit_byte_str
&&
use_byte_value_binary_prefix
)
{
index
=
(
long
long
int
)
(
log
(
vald
)
/
log
(
2
))
/
10
;
index
=
av_clip
(
index
,
0
,
FF_ARRAY_ELEMS
(
binary_unit_prefixes
)
-
1
);
vald
/=
pow
(
2
,
index
*
10
);
prefix_string
=
binary_unit_prefixes
[
index
];
}
else
{
index
=
(
long
long
int
)
(
log10
(
vald
))
/
3
;
index
=
av_clip
(
index
,
0
,
FF_ARRAY_ELEMS
(
decimal_unit_prefixes
)
-
1
);
vald
/=
pow
(
10
,
index
*
3
);
prefix_string
=
decimal_unit_prefixes
[
index
];
}
if
(
uv
.
unit
==
unit_byte_str
&&
use_byte_value_binary_prefix
)
{
index
=
(
long
long
int
)
(
log
(
vald
)
/
log
(
2
))
/
10
;
index
=
av_clip
(
index
,
0
,
FF_ARRAY_ELEMS
(
binary_unit_prefixes
)
-
1
);
vald
/=
pow
(
2
,
index
*
10
);
prefix_string
=
binary_unit_prefixes
[
index
];
}
else
{
index
=
(
long
long
int
)
(
log10
(
vald
))
/
3
;
index
=
av_clip
(
index
,
0
,
FF_ARRAY_ELEMS
(
decimal_unit_prefixes
)
-
1
);
vald
/=
pow
(
10
,
index
*
3
);
prefix_string
=
decimal_unit_prefixes
[
index
];
}
}
if
(
show_float
||
(
use_value_prefix
&&
vald
!=
(
long
long
int
)
vald
))
...
...
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