Skip to content

Commit b38849c

Browse files
committed
Reverts test file signed_test_h264.mp4
This was accidently replaced in last commit. In addition, the authenticity report is freed after last use.
1 parent fd42945 commit b38849c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

apps/validator/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ on_source_message(GstBus __attribute__((unused)) *bus, GstMessage *message, Vali
454454
strftime(last_ts_str, sizeof(last_ts_str), "%a %Y-%m-%d %H:%M:%S %Z", &last_ts);
455455
has_timestamp = true;
456456
}
457-
signed_video_authenticity_report_free(data->auth_report);
458457
g_debug("received EOS");
459458
f = fopen(RESULTS_FILE, "w");
460459
if (!f) {
@@ -531,6 +530,7 @@ on_source_message(GstBus __attribute__((unused)) *bus, GstMessage *message, Vali
531530
g_message("Signing was performed with Signed Video version %s", signing_version);
532531
}
533532
g_message("Validation complete. Results printed to '%s'.", RESULTS_FILE);
533+
signed_video_authenticity_report_free(data->auth_report);
534534
g_main_loop_quit(data->loop);
535535
break;
536536
case GST_MESSAGE_ERROR:

test-files/signed_test_h264.mp4

-1.56 KB
Binary file not shown.

0 commit comments

Comments
 (0)