Skip to content
Snippets Groups Projects
Commit 05fb9468 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

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

parent a2067761
No related branches found
No related tags found
No related merge requests found
...@@ -41,8 +41,12 @@ LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl() ...@@ -41,8 +41,12 @@ LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl()
std::string LLImageJ2COJ::getEngineInfo() const std::string LLImageJ2COJ::getEngineInfo() const
{ {
#ifdef OPENJPEG_VERSION
return std::string("OpenJPEG: " OPENJPEG_VERSION ", Runtime: ") return std::string("OpenJPEG: " OPENJPEG_VERSION ", Runtime: ")
+ opj_version(); + opj_version();
#else
return std::string("OpenJPEG runtime: ") + opj_version();
#endif
} }
// Return string from message, eliminating final \n if present // Return string from message, eliminating final \n if present
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment