Skip to content

Commit

Permalink
Update dali/image/jpeg_mem.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Zientkiewicz <mzient@gmail.com>
Signed-off-by: cyy <cyyever@outlook.com>
  • Loading branch information
cyyever and mzient committed Jul 14, 2021
1 parent 40a1f54 commit a8b48ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali/image/jpeg_mem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height,
jpeg_create_decompress(&cinfo);

if (setjmp(jpeg_jmpbuf)) {
jpeg_destroy_decompress(cinfo_ptr);
jpeg_destroy_decompress(&cinfo);
return false;
}
SetSrc(&cinfo, srcdata, datasize, false);
Expand Down

0 comments on commit a8b48ca

Please sign in to comment.