Setting of decoder handles to NULL
At the decoder initialization, the structure handles are first set to the NULL pointer. This is however done chaotically at several different places while many of the handles are set to NULL multiple times.
This issue aims to simplify this logic and do the setting of all handles to NULL in one place.