summaryrefslogtreecommitdiff
path: root/src/android/camera_metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_metadata.cpp')
-rw-r--r--src/android/camera_metadata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/camera_metadata.cpp b/src/android/camera_metadata.cpp
index bf8d2781..59366c50 100644
--- a/src/android/camera_metadata.cpp
+++ b/src/android/camera_metadata.cpp
@@ -110,12 +110,12 @@ bool CameraMetadata::resize(size_t count, size_t size)
}
bool CameraMetadata::addEntry(uint32_t tag, const void *data, size_t count,
- size_t sizeofT)
+ size_t elementSize)
{
if (!valid_)
return false;
- if (!resize(1, count * sizeofT)) {
+ if (!resize(1, count * elementSize)) {
LOG(CameraMetadata, Error) << "Failed to resize";
valid_ = false;
return false;