diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/exif_wrapper.cpp | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/lib/exif_wrapper.cpp b/lib/exif_wrapper.cpp index e6b60b1..eab5598 100644 --- a/lib/exif_wrapper.cpp +++ b/lib/exif_wrapper.cpp @@ -36,11 +36,6 @@ extern "C" unsigned int getExifOrientation(uint8_t* imgBytes, unsigned int size)  }  extern "C" void setExifOrientation(uint8_t* imgBytes, unsigned int size, unsigned int orientation) { -        int chk = 0; -        for (int i = 0; i < size; i++) { -            chk = (chk + (int)imgBytes[i] * 13) % 100000; -        } -        printf("start chk:%d\n",chk);      try {          // Hack to work around Exiv2 seeming to refuse to write back to blob, but will write          // back to a file. Create temp file -> operate on it -> copy back to blob, unlink file. | 
