replace (disabled by default) assert(0) by abort() if the picture buffer