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
65ba90ea
Commit
65ba90ea
authored
Mar 08, 2015
by
Martin Vignali
Committed by
Paul B Mahol
Mar 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_astats: Avoid Zero division in print part.
parent
9d7e42e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
af_astats.c
libavfilter/af_astats.c
+3
-0
No files found.
libavfilter/af_astats.c
View file @
65ba90ea
...
...
@@ -222,6 +222,9 @@ static void print_stats(AVFilterContext *ctx)
av_log
(
ctx
,
AV_LOG_INFO
,
"Peak count: %"
PRId64
"
\n
"
,
p
->
min_count
+
p
->
max_count
);
}
if
(
!
nb_samples
||
!
s
->
nb_channels
)
return
;
av_log
(
ctx
,
AV_LOG_INFO
,
"Overall
\n
"
);
av_log
(
ctx
,
AV_LOG_INFO
,
"DC offset: %f
\n
"
,
max_sigma_x
/
(
nb_samples
/
s
->
nb_channels
));
av_log
(
ctx
,
AV_LOG_INFO
,
"Min level: %f
\n
"
,
min
);
...
...
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