syoyo / tinydng

Header-only Tiny DNG/TIFF loader and writer in C++
MIT License
146 stars 30 forks source link

[bug] Missing "found = true;" statement in ParseCustomField #12

Closed space2 closed 2 years ago

space2 commented 2 years ago

In ParseCustomField in the rational case (i.e. if ((type == TYPE_RATIONAL) || (type == TYPE_SRATIONAL)) {) the found = true; statement seems to be missing.

syoyo commented 2 years ago

@space2 Nice catch! Fixed! https://github.com/syoyo/tinydngloader/commit/3fc433efa7b555b64c1bbd52464d5258fc58720d Thanks!