td_pulObjects is explicitly set to NULL in the constructor - before
only td_ulObject was set to NONE (0), so on 64bit half of
td_pulObjects bytes would remain garbage
only check td_ulObject for NONE if td_ctFrames <= 1 (until now it
would frequently check it for NONE even if td_ctFrames > 1, if
td_pulObjects was != NULL)
This should be a bit more robust, I hope it fixes the crash @rohit-n mentioned in #26
This should be a bit more robust, I hope it fixes the crash @rohit-n mentioned in #26