Open rbergen opened 10 months ago
This initializes GifDecoder::beginCalled to false, to prevent storeProhibited panics that can occur further down the line due to the call to AnimatedGIF::begin() not taking place.
GifDecoder::beginCalled
false
AnimatedGIF::begin()
A discussion of the crashes caused by the bug this PR fixes can be found from this comment on https://github.com/PlummersSoftwareLLC/NightDriverStrip/issues/547 onwards, as well as the PRs that the comments in that discussion link to.
I'm not sure why it doesn't show, but the comment at https://github.com/pixelmatix/GifDecoder/commit/17f5678bcc637d8a66c4797a9d3244e9782b0e42#commitcomment-133982736 may be useful to a reviewer.
This initializes
GifDecoder::beginCalled
tofalse
, to prevent storeProhibited panics that can occur further down the line due to the call toAnimatedGIF::begin()
not taking place.A discussion of the crashes caused by the bug this PR fixes can be found from this comment on https://github.com/PlummersSoftwareLLC/NightDriverStrip/issues/547 onwards, as well as the PRs that the comments in that discussion link to.