(jpeg) remove error in jpeg encoder.