Skip to content

hdmv_test: Initialize debug mask

Otherwise the bd_get_debug_mask() call below will return (uint32_t)-1, so that the -v flag will not actually do anything.


Alternatively, this could be fixed in logging.c - as it is, bugs like these may occur whenever bd_get_debug_mask is called before bd_set_debug_mask or the first debug call. If this is not intended, bd_get_debug_mask could instead be made to initialize the debug mask and function just like bd_debug does. Let me know if you'd prefer that instead.

Merge request reports

Loading