Integer vs. boolean data type

This issue intends to track code pieces where the boolean data type is used in the algorithmic codec libraries.

  1. First, there are places where a boolean value is assigned to an integer parameter. I believe that this should be corrected.

  2. Then, I think that the assumption was to avoid boolean data types in the algorithms (lib_enc, lib_dec, lib_com, lib_rend). Currently, it concerns mainly functions in files lib_enc.c, lib_dec.c, lib_rend.c, and jbm_jb4sb.c. Please share your view on whether these should be rewritten such that the boolean data type is avoided.

  3. I am not sure whether the working assumption applies also to utilities and applications, e.g. files encoder.c, decoder.c, function read_bool(), etc.

Edited Jan 03, 2023 by vaclav
Assignee Loading
Time tracking Loading