DescriptionMake SkPngCodec support rewinding properly.
Separate out the code for reading the header, and use it to reinitialize
fPng_ptr and fInfo_ptr after a rewind.
Use common code to clean up fPng_ptr and fInfo_ptr, and set them to
NULL and treat them as NULL as appropriate.
Update the test to expect SkPngCodec to succeed.
BUG=skia:3257
Committed: https://skia.googlesource.com/skia/+/3eada2a49ff2814833afcbd61329aa451d86da9c
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|