Fix SRational parsing code.

Bug: 7331241
Change-Id: Ie89f3a4349abd0d0247604c02d629992d1e8c94a
diff --git a/exif.c b/exif.c
index 0e0c765..bb01453 100644
--- a/exif.c
+++ b/exif.c
@@ -1256,8 +1256,8 @@
                 int denominator;
                 char* separator = strchr(curElement, '/');
                 if (separator) {
-                    int numerator = atoi(curElement);
-                    int denominator = atoi(separator + 1);
+                    numerator = atoi(curElement);
+                    denominator = atoi(separator + 1);
                 } else {
                     double value = atof(curElement);
                     ConvertDoubleToSRational(value, &numerator, &denominator);