if (dst == NULL) return ERROR;
if (dst->entry_count == dst->entry_capacity) return ERROR;
- if (data == NULL) return ERROR;
+ if (data_count && data == NULL) return ERROR;
size_t data_bytes =
calculate_camera_metadata_entry_data_size(type, data_count);
int set_camera_metadata_vendor_tag_ops(const vendor_tag_query_ops_t* ops) {
// **DEPRECATED**
+ (void) ops;
ALOGE("%s: This function has been deprecated", __FUNCTION__);
return ERROR;
}