Skip to content
Snippets Groups Projects
Commit d2751e05 authored by Drake Arconis's avatar Drake Arconis
Browse files

Fix a potential bug in LLImageDimensionsInfo where mWidth was being set to...

Fix a potential bug in LLImageDimensionsInfo where mWidth was being set to width and width was never set.
parent 408f6bbd
No related branches found
No related tags found
No related merge requests found
...@@ -203,7 +203,7 @@ bool LLImageDimensionsInfo::getImageDimensionsJpeg() ...@@ -203,7 +203,7 @@ bool LLImageDimensionsInfo::getImageDimensionsJpeg()
cinfo.out_color_space = JCS_RGB; cinfo.out_color_space = JCS_RGB;
jpeg_start_decompress (&cinfo); jpeg_start_decompress (&cinfo);
mHeight = cinfo.output_width; mWidth = cinfo.output_width;
mHeight = cinfo.output_height; mHeight = cinfo.output_height;
jpeg_destroy_decompress(&cinfo); jpeg_destroy_decompress(&cinfo);
......
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