clean sections before starting a new execution, fixes #571

pull/583/head
Taner Sener 3 years ago
parent 45ec8ed813
commit 39469daff2
  1. 5
      android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffprobe.c
  2. 5
      apple/src/fftools_ffprobe.c
  3. 5
      linux/src/fftools_ffprobe.c

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog * - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log * - printf statements replaced with av_log
* - volatile dropped from thread local variables * - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
* *
* 01.2020 * 01.2020
* -------------------------------------------------------- * --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL; log_buffer = NULL;
log_buffer_size = 0; 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) int ffprobe_execute(int argc, char **argv)

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog * - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log * - printf statements replaced with av_log
* - volatile dropped from thread local variables * - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
* *
* 01.2020 * 01.2020
* -------------------------------------------------------- * --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL; log_buffer = NULL;
log_buffer_size = 0; 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) int ffprobe_execute(int argc, char **argv)

@ -36,6 +36,7 @@
* - implemented writer_printf_printf using av_vlog * - implemented writer_printf_printf using av_vlog
* - printf statements replaced with av_log * - printf statements replaced with av_log
* - volatile dropped from thread local variables * - volatile dropped from thread local variables
* - sections cleaned before starting a new execution
* *
* 01.2020 * 01.2020
* -------------------------------------------------------- * --------------------------------------------------------
@ -4045,6 +4046,10 @@ void ffprobe_var_cleanup() {
log_buffer = NULL; log_buffer = NULL;
log_buffer_size = 0; 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) int ffprobe_execute(int argc, char **argv)

Loading…
Cancel
Save