JPG loader: print error string on failure
authorMichal Maciola <71131832+mmaciola@users.noreply.github.com>
Sat, 7 Aug 2021 03:00:04 +0000 (05:00 +0200)
committerHermet Park <chuneon.park@samsung.com>
Mon, 9 Aug 2021 06:35:13 +0000 (15:35 +0900)
commit4877bbaf4e0888ed60f160e3a708ec2cbd40d9ba
treebd4894badff796db63c36c768e11d71a1304714c
parentd82889bddf353df81aecaa8de1def0db17cf85cf
JPG loader: print error string on failure

Added error string printing on jpg image loading failure.
The error message help developer find the corrupted jpg file.
Error message is not printed for open from char* data as there the
loaders are tried on by one.
src/loaders/jpg/tvgJpgLoader.cpp