Permalink
Browse files

[FIX] Fixed a minor reportng stats bug (#1054)

* Fixed a minor bug

* Update CHANGES.TXT

* Update CHANGES.TXT
  • Loading branch information...
navimakarov authored and cfsmp3 committed Dec 12, 2018
1 parent 7b4bf0b commit 5a8758fdd2b46e2ce33cd8a44bc744dce2e86f5b
Showing with 2 additions and 1 deletion.
  1. +1 −0 docs/CHANGES.TXT
  2. +1 −1 src/ccextractor.c
@@ -5,6 +5,7 @@
- Fix: Update UTF8Proc to 2.2.0
- Fix: Warn instead of fatal when a 0xFF marker is missing
- Fix: Segfault in general_loop.c due to null pointer dereference (case of no encoder)
- Fix: Enable printing hdtv stats to console.
- Fix: Many typos in comments and output messages
- Fix: Ignore Visual Studio temporary project files

@@ -282,7 +282,7 @@ int api_start(struct ccx_s_options api_options)
total_frames_count, current_fps);
}

if (ctx->stat_hdtv)
if (dec_ctx->stat_hdtv)
{
mprint ("\rCC type 0: %d (%s)\n", dec_ctx->cc_stats[0], cc_types[0]);
mprint ("CC type 1: %d (%s)\n", dec_ctx->cc_stats[1], cc_types[1]);

0 comments on commit 5a8758f

Please sign in to comment.