DRTVWR-418: Address yet another effect of downdating openjpeg.

master
Nat Goodspeed 2016-11-29 21:18:58 -05:00
parent a2067761bb
commit 05fb9468d0
1 changed files with 4 additions and 0 deletions

View File

@ -41,8 +41,12 @@ LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl()
std::string LLImageJ2COJ::getEngineInfo() const
{
#ifdef OPENJPEG_VERSION
return std::string("OpenJPEG: " OPENJPEG_VERSION ", Runtime: ")
+ opj_version();
#else
return std::string("OpenJPEG runtime: ") + opj_version();
#endif
}
// Return string from message, eliminating final \n if present