We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca55c86 commit 1ac3c21Copy full SHA for 1ac3c21
1 file changed
src/lib_ccx/params_dump.c
@@ -565,10 +565,8 @@ void print_file_report(struct lib_ccx_ctx *ctx)
565
struct lib_cc_decode *dec_ctx = NULL;
566
struct ccx_demuxer *demux_ctx = ctx->demux_ctx;
567
const char *report_fmt = ccx_options.report_format;
568
- int is_json = 0;
569
if (report_fmt && strcasecmp(report_fmt, "json") == 0)
570
{
571
- is_json = 1;
572
print_file_report_json(ctx);
573
goto cleanup;
574
}
@@ -735,10 +733,7 @@ void print_file_report(struct lib_ccx_ctx *ctx)
735
733
736
734
737
cleanup:
738
- if (is_json)
739
- {
740
freep(&ctx->freport.data_from_608);
741
memset(&ctx->freport, 0, sizeof(struct file_report));
742
- }
743
#undef Y_N
744
0 commit comments