clean sections before starting a new execution, fixes #571

This commit is contained in:
Taner Sener 2022-09-19 22:43:50 +01:00
parent 45ec8ed813
commit 39469daff2
3 changed files with 15 additions and 0 deletions

View File

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log
* - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
*
* 01.2020
* --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL;
log_buffer_size = 0;
for (int i = 0; i < FF_ARRAY_ELEMS(sections); i++) {
sections[i].show_all_entries = 0;
}
}
int ffprobe_execute(int argc, char **argv)

View File

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log
* - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
*
* 01.2020
* --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL;
log_buffer_size = 0;
for (int i = 0; i < FF_ARRAY_ELEMS(sections); i++) {
sections[i].show_all_entries = 0;
}
}
int ffprobe_execute(int argc, char **argv)

View File

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log
* - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
*
* 01.2020
* --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL;
log_buffer_size = 0;
for (int i = 0; i < FF_ARRAY_ELEMS(sections); i++) {
sections[i].show_all_entries = 0;
}
}
int ffprobe_execute(int argc, char **argv)