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
96f478ae
Commit
96f478ae
authored
Sep 25, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete init_variables and update end to \n only
parent
c395c043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
14 deletions
+1
-14
ffmpeg.c
fftools/ffmpeg.c
+1
-14
No files found.
fftools/ffmpeg.c
View file @
96f478ae
...
...
@@ -1802,7 +1802,7 @@ static void print_report(int is_last_report, int64_t timer_start, int64_t cur_ti
}
if
(
print_stats
||
is_last_report
)
{
const
char
end
=
is_last_report
?
'\n'
:
'\r'
;
const
char
end
=
'\n'
;
// =
is_last_report ? '\n' : '\r';
if
(
print_stats
==
1
&&
AV_LOG_INFO
>
av_log_get_level
())
{
fprintf
(
stderr
,
"%s %c"
,
buf
.
str
,
end
);
}
else
...
...
@@ -4816,24 +4816,11 @@ static void log_callback_null(void *ptr, int level, const char *fmt, va_list vl)
{
}
/*
* ffmpeg.wasm: initialize variables for a new run
*/
static
void
init_variables
()
{
nb_input_streams
=
0
;
nb_input_files
=
0
;
nb_output_streams
=
0
;
nb_output_files
=
0
;
nb_filtergraphs
=
0
;
ffmpeg_exited
=
0
;
}
int
main
(
int
argc
,
char
**
argv
)
{
int
i
,
ret
;
BenchmarkTimeStamps
ti
;
init_variables
();
init_dynload
();
register_exit
(
ffmpeg_cleanup
);
...
...
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