Integer vs. boolean data type
This issue intends to track code pieces where the boolean data type is used in the algorithmic codec libraries.
-
First, there are places where a boolean value is assigned to an integer parameter. I believe that this should be corrected.
-
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.
-
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.