This library relies on sjpeg::EncoderParam::ResetMetadata() when
SJPEG_HAVE_JPEG or SJPEG_HAVE_PNG are set. The header is included
unconditionally, so the dependency is treated the same.
Fixes undefined reference link errors to the function.
Thanks to @leleliu008 for the report and proposed fix.
This library relies on sjpeg::EncoderParam::ResetMetadata() when SJPEG_HAVE_JPEG or SJPEG_HAVE_PNG are set. The header is included unconditionally, so the dependency is treated the same.
Fixes undefined reference link errors to the function.
Thanks to @leleliu008 for the report and proposed fix.
Fixes #120.