optimize decompress jpg data

it may be unnecessary copy jpg bytes one by one when decompress jpg data
yes, add that line to prevent been destroyed in follow codes