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
44f69c0d
Commit
44f69c0d
authored
May 11, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_astats: fix 64bit printf type
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bb0d3a43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
af_astats.c
libavfilter/af_astats.c
+2
-2
No files found.
libavfilter/af_astats.c
View file @
44f69c0d
...
...
@@ -219,7 +219,7 @@ static void print_stats(AVFilterContext *ctx)
av_log
(
ctx
,
AV_LOG_INFO
,
"RMS trough dB: %f
\n
"
,
LINEAR_TO_DB
(
sqrt
(
p
->
min_sigma_x2
)));
av_log
(
ctx
,
AV_LOG_INFO
,
"Crest factor: %f
\n
"
,
p
->
sigma_x2
?
FFMAX
(
-
p
->
min
,
p
->
max
)
/
sqrt
(
p
->
sigma_x2
/
p
->
nb_samples
)
:
1
);
av_log
(
ctx
,
AV_LOG_INFO
,
"Flat factor: %f
\n
"
,
LINEAR_TO_DB
((
p
->
min_runs
+
p
->
max_runs
)
/
(
p
->
min_count
+
p
->
max_count
)));
av_log
(
ctx
,
AV_LOG_INFO
,
"Peak count: %
lld
\n
"
,
p
->
min_count
+
p
->
max_count
);
av_log
(
ctx
,
AV_LOG_INFO
,
"Peak count: %
"
PRId64
"
\n
"
,
p
->
min_count
+
p
->
max_count
);
}
av_log
(
ctx
,
AV_LOG_INFO
,
"Overall
\n
"
);
...
...
@@ -233,7 +233,7 @@ static void print_stats(AVFilterContext *ctx)
av_log
(
ctx
,
AV_LOG_INFO
,
"RMS trough dB: %f
\n
"
,
LINEAR_TO_DB
(
sqrt
(
min_sigma_x2
)));
av_log
(
ctx
,
AV_LOG_INFO
,
"Flat factor: %f
\n
"
,
LINEAR_TO_DB
((
min_runs
+
max_runs
)
/
(
min_count
+
max_count
)));
av_log
(
ctx
,
AV_LOG_INFO
,
"Peak count: %f
\n
"
,
(
min_count
+
max_count
)
/
(
double
)
s
->
nb_channels
);
av_log
(
ctx
,
AV_LOG_INFO
,
"Number of samples: %
lld
\n
"
,
nb_samples
/
s
->
nb_channels
);
av_log
(
ctx
,
AV_LOG_INFO
,
"Number of samples: %
"
PRId64
"
\n
"
,
nb_samples
/
s
->
nb_channels
);
}
static
av_cold
void
uninit
(
AVFilterContext
*
ctx
)
...
...
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